Browserify filter for webassets
Project description
Filter for for compiling assets using Browserify and webassets.
Basic usage
from webassets.filter import register_filter
from webassets_browserify import Browserify
register_filter(Browserify)
Usage with Django
This requires django-assets.
from django_assets import Bundle, register
from webassets.filter import register_filter
from webassets_browserify import Browserify
register_filter(Browserify)
js = Bundle('js/main.js', filters='browserify', 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-browserify-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbfe6f1a8d6e388e7a03be8cca3eece2311c4e1cb776ef1d36065d717a567f27 |
|
MD5 | 4566175c85b9ea8d6a3ae4a77291501b |
|
BLAKE2b-256 | 0ed1011b30efca0b52e0c1fc09c67f499acde0b60dd1063a833979874ed490ce |
Close
Hashes for webassets_browserify-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2191216b91562cebe49dd38f0d377774cfabdb15bcdff67cf3d32a1ca5c6035e |
|
MD5 | 51545f5e110a742ec51ffbf9cdc64f3c |
|
BLAKE2b-256 | bcb9729210fed440b943a3eb7c2d23d4b40dc1fd8a257efaa0311bb4ee06def5 |