Browserify filter for webassets
Project description
Browserify filter for webassets
--------------------
Filter for for compiling assets using Browserify[1] and webassets[2].
Basic usage
`````
.. code:: python
from webassets.filter import register_filter
from webassets_browserify import Browserify
register_filter(Browserify)
Usage with Django
`````
This requires django-assets[3].
.. code:: python
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)
Links
`````
[1] http://browserify.org
[2] http://webassets.readthedocs.org
[3] http://django-assets.readthedocs.org
--------------------
Filter for for compiling assets using Browserify[1] and webassets[2].
Basic usage
`````
.. code:: python
from webassets.filter import register_filter
from webassets_browserify import Browserify
register_filter(Browserify)
Usage with Django
`````
This requires django-assets[3].
.. code:: python
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)
Links
`````
[1] http://browserify.org
[2] http://webassets.readthedocs.org
[3] http://django-assets.readthedocs.org
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 Distributions
Close
Hashes for webassets-browserify-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77487ad737ec1c2985b1b26558d58c156cb5516fdaa5827b067a049469aa0d39 |
|
MD5 | cd3745f735a3eec8a37aae43063ab15a |
|
BLAKE2b-256 | 23f82ac05f125534da1159bfd903be97119596d974f765fa8b64ee90c06ae2da |
Close
Hashes for webassets_browserify-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d938d78e63ce2fc18ca46bdbe5e532e83ddb863a1340ad3f21a4186950f6360 |
|
MD5 | 137408cf6e5712c088bcf0d9a84f7a22 |
|
BLAKE2b-256 | dfbc5180a2e6245cca95ae567cec72cf2d7dd4d6f8f4699a5e00d5d85f5e2cf8 |
Close
Hashes for webassets_browserify-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40112d649f1d753015fc1a9c464ff059be880d4c244262fcea4465b1ee19d19d |
|
MD5 | aa0e48926449da92222ae9c01f04662c |
|
BLAKE2b-256 | b3035e953ec5c840ed60c9330e3575ac378a103659e6e94370099b94bff5c12e |