~/talk

Webpacker, It-Just-Works, But How?

Talkat RailsConf 2020 CE · 2020-05-04..05-05· [javascript, ruby-on-rails]
slides:none on file

Explains how the Webpacker gem actually orchestrates webpack to produce manifest.json and public_output_path and the static JS/CSS assets Rails serves, using config/webpacker.yml and the rails/webpacker Node package. Describes the runtime bits: bin/webpack, NODE_ENV-based configs, the webpack-dev-server proxy on localhost:3035, and options to run compile, watch, or dev-server. Calls out real pitfalls: expensive per-request cache‑key computation when compile is true, how to inspect the exported config, using webpack multicompiler for client/server bundles.

AI-written summary · about

  1. 0:00Start
  2. 4:48Overall rails/webpacker Flow
  3. 27:24Developer Option 2:"webpack watch mode"
  4. 35:34Yak Shaving?
~/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.