Rolling and Packing on the Web
summary
Explains that ES2015 modules require static imports evaluated before execution (imports resolved up the stack) while dynamic import returns a Promise that loads at runtime, notes ES modules spec is from 2015 but native use is still rare despite ~86–87% browser support, shows import maps (Chrome behind a flag) for mapping bare names to URLs and demonstrates SystemJS as a polyfill enabling HTML/CSS/JSON modules and a real-world Jump site using import maps + CDN.
AI-written summary · about
chapters (11)
- 0:00Introduction and motivation
- 1:47History of JavaScript modules
- 5:21Loading code in the browser
- 8:08ES6 modules explained
- 9:55Static vs dynamic imports
- 13:49Future of module systems
- 16:59Import Maps and polyfills
- 20:49SystemJS as a polyfill
- 21:52Real-world use cases
- 23:38What's next for web modules
- 24:19Call to action and Q&A
