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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page