Skip to main content

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

webassets-browserify-1.1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

webassets_browserify-1.1.0-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 2 Python 3

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