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 - 0.1.2

Published by owais over 9 years ago

django-webpack-loader - 0.0.8

Published by owais over 9 years ago

Introducing render by file extension feature.

render_bundle can take second argument that is a file extension. If the file extension is provided, only files matching that extension will be rendered by the tag. For example,

{% load render_bundle from webpack_loader %}

<html>
  <head>
    {% render_bundle 'main' 'css' %}
  </head>
  <body>
    ....
    {% render_bundle 'main' 'js' %}
  </body>
</head>

will render CSS files in <head> and JS files just before </body>

django-webpack-loader - 0.0.6 breaking changes

Published by owais over 9 years ago

This release introduces the BUNDLE_DIR_NAME setting and removed BASE_URL setting.

BUNDLE_DIR_NAME is the name, actually relative path of the directory in which webpack will store the bundles. It is relative to it's parent static dir.

For example, if ./assets/ is your static dir and bundles are stored in ./assets/bundles/, then your BUNDLE_DIR_NAME should be bundles/

django-webpack-loader - 0.0.4.1

Published by owais over 9 years ago

django-webpack-loader - Pre release

Published by owais over 9 years ago