Tags: alexb007/django-webpack-loader
Tags
Add custom LOADER_CLASS support (django-webpack#210) `LOADER_CLASS` on the `WEBPACK_CONFIG` setting is now where the loader class is defined. To retain backward compatibility and to keep getting started simple, this defaults to the existing WebpackLoader class. `WebpackLoader._load_assets` has been renamed to `WebpackLoader.load_assets`. This keeps the API extendable when creating custom webpack loaders. Documentation has been updated to include how to extend the WebpackLoader using the `LOADER_CLASS`.
Merge pull request django-webpack#66 from owais/tiemouts Added ability timeout when waiting for webpack to compile a bundle
Experimental new loader New class based loader implementation * Potentially Breaking Changes This commit introduces a new `CACHE` setting which when set to true makes the loader cache the contents of the stats files in memory. This means if set to True, the server will have to be restarted every time the stats file contents change or it'll keep serving old, cached URLs. `CACHE` defaults to `not DEBUG` by default.
PreviousNext