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.

Project details


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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file jinja2-webpack-0.2.0.tar.gz.

File metadata

  • Download URL: jinja2-webpack-0.2.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/19.6.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.6

File hashes

Hashes for jinja2-webpack-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f90efc679200873d4f6bf46175f69b18805d2ec9bf805155053902085edaa36c
MD5 48c3ffaf4c4ebaa4ef45fe0e20a2af0f
BLAKE2b-256 4527bf2705d54e907da6a101d71878345ba52942e97e0868186877dc2979cc63

See more details on using hashes here.

File details

Details for the file jinja2_webpack-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: jinja2_webpack-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/19.6.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.6

File hashes

Hashes for jinja2_webpack-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f9cf61e9eeda3a6624c89d0ec4ebd82abeb7967449ab1d177c9dda3339257f37
MD5 def441f61d31bcbee55aefe57a5803cc
BLAKE2b-256 bde3adae7bc99a68f5b0cc9c89a1681e073bc1b29d78ac98b964691720f0989a

See more details on using hashes here.

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