~/talk

Look Before You Import: A Webpack Survival Guide

slides:none on file

Explains migrating from Sprockets to Webpack with concrete failures and fixes: how Webpacker expects entry files in app/javascript/packs, using require.context instead of require_tree, diagnosing duplicate jQuery with the Webpack bundle analyzer, fixing globals via imports-loader instead of expose-loader, and stabilizing fingerprints by extracting the runtime and using HashedModuleIds/CommonsChunkPlugin; shows successful dynamic code splitting via async import (PDF.js example). Choose it if you want hands‑on solutions and config snippets, skip if you only want high‑level overview.

AI-written summary · about

  1. 0:00Intro
  2. 1:01WEBPACK SURVIVAL GUIDE FOR RAILS DEVELOPERS
  3. 1:46HOW TO WEBPACK WITHOUT LOSING YOUR HAIR
  4. 2:44ROSS conf
  5. 13:45Don't assume Webpacker conventions match Sprockets conventions
  6. 15:27In Webpack, accept control friendliness
  7. 15:54ORGANIZING CODEV TAMING DEPENDENCIES PREDICTABLE CACHING
  8. 21:44Quick fix Code splitting? Let Webpack do the work
  9. 22:47Know your dependencies
  10. 25:21Legacy dependencies? fix or fire
  11. 29:43Quick fix More configuration (yay)
  12. 33:50Prioritize async bundles
  13. 35:50Webpack and Sprockets: fundamentally different
  14. 37:23Recording and Production Confreaks
~/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.