~/talk

Bundlers a deep dive into modern JavaScript build tools

github:edodusi
slides:none on file

Shows a working mini bundler that outputs a single autoexecuting file built by parsing files with regex then adding a plugin system and terser to minify so the demo produces a dist bundle. Explains AST use via acorn and mentions esbuild and Rollup explicitly. Highlights concrete behaviors: Vite uses esbuild for dev prebundling and Rollup for production, enables HMR and code splitting, and warns dev and prod builds can differ and break.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why bundlers exist
  3. 3:35From global scripts to ES modules
  4. 5:42Bundlers' purpose
  5. 6:24Simple bundler architecture
  6. 7:54Dependency graph creation
  7. 9:20Implementing require and execution
  8. 11:36Modern bundler features
  9. 12:38AST and code parsing
  10. 14:25Plugins and minification
  11. 15:30Plugin hooks extension
  12. 16:54Bundle output optimization
  13. 18:21Tree shaking concept
  14. 19:04Code splitting and HMR
  15. 20:12Modern bundler structure
  16. 20:32Vite as no-bundler tool
  17. 21:15Vite dev vs prod mode
  18. 22:41Vite developer benefits
  19. 23:24Vite limitations
  20. 24:28Conclusion
~/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.