5 مستودعات
Analysis of dependency graphs to separate shared logic from route-specific code for deployment optimization.
Distinct from Static Code Analyzers: Focuses on splitting code for deployment size optimization rather than general static analysis for bugs or security.
Explore 5 awesome GitHub repositories matching software engineering & architecture · Dependency-Based Code Splitting. Refine with filters or upvote what's useful.
This project is a CommonJS module bundler and resolver designed to combine interdependent JavaScript files into a single script for execution in web browsers. It functions as a Node.js JavaScript bundler that emulates server-side core modules and resolves dependencies to ensure compatibility between server-side logic and browser environments. The system features an extensible bundling pipeline and a browser-side module resolver. It provides a plugin architecture for transforming source code and a source map generator to correlate bundled output back to original files for debugging. The proje
Allows specific dependencies to be excluded from the internal bundle to be loaded as separate external scripts.
Nitro is a cross-platform server engine and JavaScript server framework designed to bundle backend code for deployment across diverse cloud providers, edge functions, and serverless environments. It functions as a platform-agnostic backend runtime that translates platform-specific event objects into a standardized request and response format. The project utilizes a file-system based router to map the physical directory structure of the server folder directly to URL endpoints. It employs a build process to generate platform-agnostic bundles, ensuring the same server logic can run across differ
Analyzes the dependency graph to separate shared logic from route-specific code to reduce final deployment size.
preact-cli هو أداة سطر أوامر للسقالات والتطوير وبناء التطبيقات باستخدام مكتبة Preact. يوفر خط أنابيب بناء قائم على Webpack لتنسيق تحويل الكود، وتحسين الأصول، وتجميع الإنتاج. تتضمن مجموعة الأدوات عارضًا مسبقًا للموقع الساكن لتحويل مسارات التطبيق إلى ملفات HTML ساكنة ومجموعة أدوات تطوير PWA لإنشاء عمال الخدمة والتخزين المؤقت للأصول دون اتصال. كما يعمل كخادم تطوير للواجهة الأمامية يتميز باستبدال الوحدة الساخن (hot module replacement) ووكيل لتكرار التطبيق في الوقت الفعلي. يغطي المشروع مجموعة واسعة من القدرات، بما في ذلك سقالات المشروع، وتحسين البناء من خلال تقسيم الكود التلقائي القائم على المسار، وتكامل خطوط أنابيب معالجة CSS المسبقة. كما يدعم إدارة متغيرات البيئة وتخصيص تكوينات البناء من خلال الإضافات والتجاوزات.
Implements automatic route-based code splitting to reduce the initial bundle size for faster page loads.
هذا المشروع عبارة عن مرجع تقني ودليل لتحسين أداء تطبيقات Angular. يوفر قائمة مرجعية شاملة لتحسين السرعة والكفاءة من خلال التركيز على تحسين الحزم (bundle)، وأفضل ممارسات العرض، وتنفيذ وقت التشغيل. يغطي الدليل مجموعة واسعة من الميزات بما في ذلك تنفيذ استراتيجيات تطبيقات الويب التقدمية (PWA) من خلال عمال الخدمة (service workers) والتخزين المؤقت دون اتصال. كما يفصل طرق تحسين أوقات التحميل المتصورة باستخدام العرض من جانب الخادم (SSR) وأغلفة التطبيقات. يوفر المستودع توجيهاً حول مجالات إمكانيات أوسع مثل ضبط اكتشاف التغيير، واستخدام عمال الويب (web workers) لتفريغ الحسابات الثقيلة، وإدارة DOM عبر التمرير الافتراضي. كما يغطي تقليل حجم الحزمة من خلال التخلص من الكود غير المستخدم (tree-shaking)، والضغط، وتقسيم الوحدات بالتحميل الكسول.
Divides the application into smaller chunks that load only when specific routes are accessed.
after.js is a server-side rendering framework for React applications that integrates with React Router to coordinate data loading, routing, and hydration. It functions as both a rendering framework and a static site generator, capable of exporting pages as static HTML and JSON files for delivery via content delivery networks. The framework provides a server-side data fetching layer that populates component properties during the render process. It manages navigation through a system of status-code driven redirections and dynamic error handling, allowing the application to trigger redirects or
Defines lazy-loaded routes to divide application bundles into smaller chunks, reducing initial load times.