Webpack filter for webassets
Project description
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
Built Distribution
File details
Details for the file webassets-webpack-0.1.6.tar.gz
.
File metadata
- Download URL: webassets-webpack-0.1.6.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558116d874fdd344cc09eca0b293cb0bb45009db0d11ec120f373bd35fd7632e |
|
MD5 | 221eb223be9046cef6edf9b99080ea6c |
|
BLAKE2b-256 | 617f266bef2d45adebe9864627d38eac11d7b5e69225800dde0bf42c69abf5e8 |
File details
Details for the file webassets_webpack-0.1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: webassets_webpack-0.1.6-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b943e18ed5e5e2e6c52e024b14e639356318cbdbfaebc083a746efddfc51126c |
|
MD5 | 7f3bc4da22d1acff030be31f48c8b681 |
|
BLAKE2b-256 | 79370628af512172e500a939ebd319e93209f2226b087e745b3db84650b5d484 |