Owning your Build-step – Owning your Code
summary
Bundling with RollupJS actually trims real costs: a small web app drops from 18.3s → 7.5s cold load by avoiding the network waterfall, and a Node/Docker example strips a 160MB image down to about 120MB and even yields a 4MB runtime artifact by excluding types/tests and tree-shaking. The demo shows concrete plugins and hooks used — resolveId, load, transform, and emitFile — plus examples of virtual modules, code replacement, and chunk control with live size and startup-time measurements.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:57Build a Server in Docker
- 9:04Load Hook
- 10:43Transform Hook
- 12:32The Life Cycle of the Module
- 14:18Transfer Mode
- 18:34Self-Referencing Bundle
related talks
48mBuild tools 101
34mBuild-time Optimizations in JavaScript Applications
52m10KB or Bust: The Delicate Power of Webpack and Babel
31m10KB or Bust" The Delicate Power of Webpack and Babel"
46mIn this JavaScript tooling jungle, a return to simplicity is...
58m10KB or Bust: The Delicate Power of Webpack and Babel
30mWebpack – The React Parts
45mBundler Bonanza
