Webpack filter for webassets
Project description
Filter for for compiling assets using Webpack and webassets.
Basic usage
from webassets.filter import register_filter
from webassets_browserify import Webpack
register_filter(Webpack)
Usage with Django
This requires django-assets.
from django_assets import Bundle, register
from webassets.filter import register_filter
from webassets_webpack import Webpack
register_filter(Webpack)
js = Bundle('js/main.js', filters='webpack', output='bundle.js',
depends='js/**/*.js')
register('js_all', js)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for dbuy-webassets-webpack-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f961eb384ed82d5b5b124f8c925de93f99fc637877c17ea10950ff6d6186386b |
|
MD5 | 381947e45ef28c561ece12d502bf4fcb |
|
BLAKE2b-256 | 6cef77921ae20226e6fbf23ad09f94fdbe3f04292062238c42891f2df8c9c542 |
Close
Hashes for dbuy_webassets_webpack-0.1.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcaee22633fb263aacbef498d70292148f90f60fad09c6d444854444edcdd207 |
|
MD5 | ab2ae6aa708aeed988db250d7566610f |
|
BLAKE2b-256 | 48a111fff65526eab65b287a9aa0a30c4b3035537f0ef2d5f3d43c9ef5dcb65b |