django-webpack-loader

Transparently use webpack with django

MIT License

Downloads
489.8K
Stars
2.5K
Committers
56

Bot releases are hidden (Show)

django-webpack-loader - 3.1.0 Latest Release

Published by rvlb 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/django-webpack/django-webpack-loader/compare/3.0.1...3.1.0

django-webpack-loader - 3.0.1

Published by fjsj 9 months ago

  • Added skip_common_chunks option to the get_files() template tag.
django-webpack-loader -

Published by fjsj 10 months ago

django-webpack-loader - 2.0.1

Published by rvlb over 1 year ago

  • Add support for Django 4.2
django-webpack-loader - 2.0.0

Published by rvlb over 1 year ago

  • Update examples to use [email protected] API and keep version parity with it
  • Update Django to 3.2.19
  • Add mocked get_assets method to FakeWebpackLoader for usage in tests
django-webpack-loader - 1.8.1

Published by rvlb over 1 year ago

  • Add a FakeWebpackLoader for running tests
django-webpack-loader - 1.8.0

Published by rvlb almost 2 years ago

  • Add compatibility for Django 4.1 and Python 3.10
django-webpack-loader - 1.7.0

Published by rvlb almost 2 years ago

  • Bump to 1.7.0 to keep parity with webpack-bundle-tracker
django-webpack-loader - 1.6.0

Published by rvlb over 2 years ago

  • Add a setting to configure skip common chunks behaviour globally
  • Bump django from 3.2.12 to 3.2.13
  • Add support for Django 4.0
django-webpack-loader - 1.5.0

Published by chocoelho over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/django-webpack/django-webpack-loader/compare/1.4.1...1.5.0

django-webpack-loader - 1.4.1

Published by rvlb about 3 years ago

  • Fixes #300, failsafe request checking #301
django-webpack-loader - 1.4.0

Published by rvlb about 3 years ago

  • Bump django from 3.2.4 to 3.2.5 #299
  • Add issue templates #293
  • Add skip_common_chunks functionality #297
django-webpack-loader - 1.3.0

Published by joaopslins about 3 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

django-webpack-loader - 1.1.0

Published by fjsj over 3 years ago

  • Added compatibility with [email protected]
  • Removes bower references in project
  • Fix jinja configuration example in README.md
django-webpack-loader - 1.0.0

Published by rvlb over 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
django-webpack-loader - 0.7.0

Published by owais over 4 years ago

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

django-webpack-loader - 0.5.0

Published by owais over 7 years ago

django-webpack-loader - 0.3.2

Published by owais about 8 years ago

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

django-webpack-loader - 0.3.0

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.

django-webpack-loader - 0.2.0

Published by owais about 9 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!