Skip to main content

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

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

webassets-browserify-1.0.0.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distributions

webassets_browserify-1.0.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

webassets_browserify-1.0.0-py2-none-any.whl (3.9 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page