Skip to main content

Integration of webpack with jinja2

Project description

Integration of webpack with jinja2

  • Free software: BSD license

Description

Plugin for jinja2 which enables you to reference assets generated by webpack in your Jinja2 templates, as well as an optional scan feature which allows you to push references to assets from your Jinja2 templates back into webpack for it to build them.

Installation

pip install jinja2-webpack

Documentation

https://jinja2-webpack.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.2.0 (2019-07-19)

  • Fix issue with using a root path of ‘/’ and ‘’

0.1.4 (2017-06-03)

  • Separate jinja2_webpack.pyramid into pyramid_jinja2_webpack

0.1.0 (2017-05-28)

  • First release on PyPI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jinja2-webpack-0.2.0.tar.gz (20.4 kB view hashes)

Uploaded Source

Built Distribution

jinja2_webpack-0.2.0-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page