Confident Asset Deployments With Webpack & Django
summary
Uses webpack to produce hashed immutable bundles and writes a small webpack-stats.json that records filenames so templates can link the right files via render_bundle rather than hardcoding paths. Integrates with Django Webpack bundle loader and webpack-stats.json so collectstatic is unnecessary; builds run independently, upload to S3/CDN, and are reversible because old hashed files remain. Claims faster, automatable, testable deploys and shows the build produces working bundles and a tiny stats file that changes per build.
AI-written summary · about
chapters (7)
- 0:00Start
- 9:23INSTALLATION
- 9:52WEBPACK.CONFIG.JS
- 13:23BUILD THE BUNDLE
- 13:47WEBPACK-STATS.JSON
- 14:54STRUCTURE
- 17:32SETTINGS.PY








