Transparently use webpack with django
MIT License
Bot releases are hidden (Show)
Full Changelog: https://github.com/django-webpack/django-webpack-loader/compare/3.0.1...3.1.0
Published by fjsj 9 months ago
skip_common_chunks
option to the get_files()
template tag.publicPath: auto
in Webpack config, check updated examples at https://github.com/django-webpack/django-webpack-loader/tree/master/examples
Published by rvlb over 1 year ago
Published by rvlb over 1 year ago
[email protected]
API and keep version parity with itget_assets
method to FakeWebpackLoader
for usage in testsPublished by rvlb over 1 year ago
FakeWebpackLoader
for running testsPublished by rvlb almost 2 years ago
Published by rvlb almost 2 years ago
webpack-bundle-tracker
Published by rvlb over 2 years ago
Published by chocoelho over 2 years ago
Full Changelog: https://github.com/django-webpack/django-webpack-loader/compare/1.4.1...1.5.0
Published by rvlb about 3 years ago
Published by rvlb about 3 years ago
Published by joaopslins about 3 years ago
NOTE: Skipped version 1.2.0 to match webpack-bundle-tracker
version
Published by fjsj over 3 years ago
[email protected]
Published by rvlb over 3 years ago
[email protected]
Published by owais over 4 years ago
Added support for custom loader classes: https://github.com/owais/django-webpack-loader/#loader_class
Published by owais over 7 years ago
Published by owais about 8 years ago
Added a new attrs
option to render_budnle
tag and documented webpack_static
tag
Published by owais over 8 years ago
New class based loader implementation
Potentially Breaking Changes
This release 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.
Published by owais about 9 years ago
Pre-0.2 settings
WEBPACK_LOADER = {
'BUNDLE_DIR_NAME': 'bundles/',
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json')
}
0.2 settings
WEBPACK_LOADER = {
'DEFAULT': {
'BUNDLE_DIR_NAME': 'bundles/',
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
}
}