1 مستودع
Techniques for replacing inline helper functions with references to a shared external runtime library to reduce bundle size.
Distinct from External Asset Referencing: Existing candidates focus on asset linking or infrastructure resources, not code-level helper deduplication.
Explore 1 awesome GitHub repository matching web development · Shared Runtime Referencing. Refine with filters or upvote what's useful.
babel-loader هو إضافة webpack تدمج مترجم Babel في سير عمل تجميع الوحدات. يعمل كجسر يسمح بتحويل JavaScript الحديث إلى إصدارات متوافقة مع الإصدارات السابقة أثناء عملية البناء. يحسن المشروع أحجام الحزم عن طريق استبدال دوال المساعدة المكررة بمراجع إلى وقت تشغيل خارجي مشترك. لتسريع دورات التجميع اللاحقة، يستخدم ذاكرة تخزين مؤقت قائمة على نظام الملفات لتخزين الملفات المعالجة وتجنب التحويل الزائد. يدعم المحمل تعيين التكوين الخاص بالبيئة وتكوينات الهدف لتطبيق قواعد تحويل مختلفة لمنصات العميل والخادم. كما يوفر آلية لنقل بيانات تعريف التحويل مرة أخرى إلى مجمع الوحدات للمزامنة مع إضافات البناء الأخرى.
Reduces final bundle size by replacing duplicated helper functions with imports from a shared external runtime.