~/talk

10KB or Bust: The Delicate Power of Webpack and Babel

Talkat Voxxed Days Bucharest 2018 · 2018-03-22..03-23· [javascript, web-performance]
slides:none on file

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

  1. 0:00Introduction and background
  2. 1:51The state of web performance
  3. 4:48The impact of 2G networks
  4. 7:41Performance case studies
  5. 10:53Choosing frameworks
  6. 13:57Modern build optimizations
  7. 17:41Tree shaking and dead code
  8. 23:12Babel and code configuration
  9. 26:58Production environment flags
  10. 28:36Code splitting strategies
  11. 31:42Handling source maps
  12. 33:12Module concatenation
  13. 36:53Initial skeleton loading
  14. 44:25Server-side optimizations
  15. 47:43Brotli compression
  16. 49:22Serverless considerations
  17. 51:04Future web technologies
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.