~/talk

Unbundling the JavaScript module bundler

Talkat Codemotion Rome 2018 · 2018-04-13..04-14· [javascript, frontend-architecture]
slides:none on file

Shows how a tiny JavaScript tool (under 200 lines on GitHub) downloads listed vendor URLs, caches them, concatenates and minifies with Babel minify to drop seven HTTP requests to two. Explains module systems (global, CommonJS, AMD, UMD, ES2015), demonstrates building the dependency graph, and the bundler pattern that produces a module map factory pattern where modules become factory functions and a rewritten require loads them. Covers Webpack usage, loaders, plugins, and tree shaking, and how Webpack CLI runs with mode=development to reveal the bundle shape.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:02Understanding module bundlers
  3. 3:06Building a simple bundler
  4. 7:12What is a module?
  5. 9:21JavaScript module patterns
  6. 14:40CommonJS and module systems
  7. 17:39Static vs dynamic imports
  8. 24:18How bundlers work
  9. 30:57Introduction to Webpack
  10. 35:59Conclusion
~/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.