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)

Supported by

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