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.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b943e18ed5e5e2e6c52e024b14e639356318cbdbfaebc083a746efddfc51126c |
|
MD5 | 7f3bc4da22d1acff030be31f48c8b681 |
|
BLAKE2b-256 | 79370628af512172e500a939ebd319e93209f2226b087e745b3db84650b5d484 |