django_webpack.webpack.bundle
is now available atdjango_webpack.bundle
.django_webpack.models.WebpackBundle
is now available atdjango_webpack.WebpackBundle
.
- Improving the test harness and updating django-node to the latest.
- The default value for
WebpackBundle.devtool
is now defined by a setting, DJANGO_WEBPACK['DEVTOOL'] - The default value for the
DJANGO_WEBPACK['CACHE']
setting is now toggled byDJANGO_WEBPACK['DEBUG']
, rather thandjango.conf.settings.DEBUG
.
- API changes:
django_webpack.models.WebpackBundle.output
is nowdjango_webpack.models.WebpackBundle.path_to_output
django_webpack.models.WebpackBundle.get_output
is nowdjango_webpack.models.WebpackBundle.get_path_to_output
- Added an optional in-memory cache, triggered by the setting
DJANGO_REACT['CACHE']
.
- django_webpack.models.WebpackBundle can now be invoked directly.
WebpackBundle(entry='path/to/file.js')
- Added a test suite.
django_webpack.webpack.bundle
now offers trivial programmatic access to webpack.- Moved the Webpack configuration settings from settings.py to
django_webpack.models.WebpackBundle
.
- Initial release