Skip to main content

Webpack filter for webassets

Project description

https://travis-ci.org/suryakencana/webassets-webpack.svg?branch=master

Filter for for compiling assets using Webpack and webassets.

Basic usage

from webassets.filter import register_filter
from webassets_browserify import Webpack

register_filter(Webpack)

Usage with Django

This requires django-assets.

from django_assets import Bundle, register
from webassets.filter import register_filter
from webassets_webpack import Webpack

register_filter(Webpack)

js = Bundle('js/main.js', filters='webpack', 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-webpack-0.1.6.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

webassets_webpack-0.1.6-py2.py3-none-any.whl (3.7 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