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
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 webassets_webpack-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94416c32e1a77d7f369813e4505e04feafa048181dbabc03bbb660c94be1c9c9 |
|
MD5 | 0c3376f07d8818a8db1defb028a6b0e5 |
|
BLAKE2b-256 | b61dd062865a2e7feb9df1ed6e31cbd1f2085d77c9543c49f71cc37e1593cdf5 |