Webpack 4: The State of the Art
summary
Claims measurable speedups: typical builds report 98% faster builds and examples drop nine hour compiles to seventeen minutes. The code rewrites introduce hook-based, lazily compiled monomorphic plugin APIs, parallel uglifyjs and caching, and JSON tree-shaking that shrinks bundles drastically. Defaults change behavior so webpack 4 defaults to production mode with mode flags for dev, and wasm as a first-class module type arrives. Migration tooling, a profiler for plugin timing, and node 6 minimum are implemented and reported to work at scale.
AI-written summary · about
chapters (11)
- 0:00Start
- 2:51Legato
- 4:40WEBPACK Y
- 5:41FASTER BUILDS
- 12:20SMALLER BUILDS
- 14:41DEVELOPER EXPERIENCE
- 18:12MODERNIZATION + RE-ARCHITECTURE
- 20:42JUST SCRATCHING THE SURFACE
- 21:03HOW TO MIGRATE
- 23:14BEYOND 4.0?
- 28:10LEARNINGS
related talks
28mwebpack 4: The most important update for Angular
40mBuilding a Platform: Webpack and the Future
28mWebpack for a better development workflow
55mUnderstanding webpack from inside out
20mWebpack+WebAssembly: Under the hood
29mWebpack 5 - Why Breaking Changes? What is next?
28mPerformance Feat. Webpack
23mStreamline your code with webpack
