Django Webpack Loader Versions Save

Transparently use webpack with django

1.4.1

2 years ago
  • Fixes #300, failsafe request checking #301

1.4.0

2 years ago
  • Bump django from 3.2.4 to 3.2.5 #299
  • Add issue templates #293
  • Add skip_common_chunks functionality #297

1.3.0

2 years ago
  • Add option for rel="preload" in JS/CSS tags #203
  • Add option for extension appending in the url files #135
  • Fixes RemovedInDjango41Warning #290
  • Applies IGNORE setting before checking assets #286
  • Removed type from link and script tags per #152

NOTE: Skipped version 1.2.0 to match webpack-bundle-tracker version

1.1.0

2 years ago
  • Added compatibility with [email protected]
  • Removes bower references in project
  • Fix jinja configuration example in README.md

1.0.0

3 years ago
  • Added support for custom loader classes
  • Added compatibility with [email protected]
  • Updated and corrected examples
  • Updated Python and Django supported versions on tests

0.7.0

4 years ago

Added support for custom loader classes: https://github.com/owais/django-webpack-loader/#loader_class

0.5.0

7 years ago

0.3.2

7 years ago

Added a new attrs option to render_budnle tag and documented webpack_static tag

0.3.0

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.

0.2.0

8 years ago

Upgrading to 0.2

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'),
    }
}

New stuff

  • get_files template tag. Thanks to @sbaechler, we can now fetch a list of files from a bundle and constuct custom tags or use the file URLs in javascript.
  • Multiple webpack configurations Thanks to @cybercase, webpack loader can now consume the output of multiple stats files in the same project!