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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66a4af038407081e29e38b38dbc42c3f2d82d2ef42d7da64994fb432e1faa813 |
|
MD5 | 18e04b13a1974e732f0a0e7ea77761d7 |
|
BLAKE2b-256 | 659e4b05658c8405497728a53bce83c1ebb2a0d2e52474b631ec7ddd130dc4b7 |
Close
Hashes for webassets_browserify-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb1d048472d80392a3a443bb5abd9ba52e306d99d30fd882caf5c9a20f68e7d |
|
MD5 | 3cb8dace54c19bd90260cb1e847638df |
|
BLAKE2b-256 | 05e2ff63de154862e49273617490f1ead0f9537dfe68a318edae45b6baa118d5 |