Propshaft and the Modern Asset Pipeline
summary
Propshaft replaces sprockets as Rails 7’s minimal asset pipeline: it drops transpiling and bundling, keeps and improves fingerprinting, and auto-discovers asset folders from gems and apps. It boots an Assembly that builds a load path hash, serves digested assets in development, writes a manifest for production, and uses a file-watcher to refresh caches. Integrates with importmaps or JS/CSS bundling gems (esbuild, rollup, bun) and skips digesting already-digested bundles. drops bundling and transpilation 100 commits in two months
AI-written summary · about
chapters (6)
- 0:00Introduction to asset pipelines
- 1:40Sprockets and legacy challenges
- 7:49Modern frontend technology shifts
- 11:29Introduction to Propshaft
- 18:55Propshaft features and workflow
- 22:30Choosing your asset strategy








