10KB or Bust: The Delicate Power of Webpack and Babel
summary
Shows concrete Webpack and Babel tweaks that cut real payloads: use type="module" with a legacy fallback to send modern browsers a much smaller bundle, enable tree shaking (lodash drops from ~73 KB to ~11 KB in the demo), prefer useBuiltIns so Babel only polyfills what target browsers need, set NODE_ENV=production, enable module concatenation/scope hoisting, split code with dynamic import for under-10 KB initial payloads, deliver image skeletons (tiny LQIP JPEG/SVG) and Brotli compression, add Server-Timing headers and prepack serverless functions to reduce cold starts.
AI-written summary · about
chapters (17)
- 0:00Introduction and background
- 1:51The state of web performance
- 4:48The impact of 2G networks
- 7:41Performance case studies
- 10:53Choosing frameworks
- 13:57Modern build optimizations
- 17:41Tree shaking and dead code
- 23:12Babel and code configuration
- 26:58Production environment flags
- 28:36Code splitting strategies
- 31:42Handling source maps
- 33:12Module concatenation
- 36:53Initial skeleton loading
- 44:25Server-side optimizations
- 47:43Brotli compression
- 49:22Serverless considerations
- 51:04Future web technologies
related talks
52m10KB or Bust: The Delicate Power of Webpack and Babel
31m10KB or Bust" The Delicate Power of Webpack and Babel"
30m10KB or Bust: The Delicate Power of Webpack and Babel
41m10KB or Bust: The Delicate Power of Webpack and Babel
06mLightning talk from Andrey Sitnik
45mDark Art of Webpack Bundle Tuning
34mBuild-time Optimizations in JavaScript Applications
30mWebpack – The React Parts
