rclmenezes / webassets-rollup

Rollup filter for webassets

Home Page:https://pypi.python.org/pypi/webassets-rollup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rollup filter for webassets Build Status

Filter for for compiling assets using Rollup and webassets. Requires Python 2.7 or Python 3.3 and newer.

Basic usage

from webassets.filter import register_filter
from webassets_rollup import Rollup

register_filter(Rollup)

Usage with Pyramid

This requires pyramid_webassets.

from webassets_rollup import Rollup
register_filter(Rollup)

Options

ROLLUP_BIN

The path to the Rollup binary. If not set, assumes rollup is in the system path.

ROLLUP_EXTRA_ARGS

A list of any command-line arguments to be included when rollup is called. For example:

ROLLUP_EXTRA_ARGS = ['--no-strict', '-f', 'cjs', '-c', '/my/rollup.config.js']

License

MIT

About

Rollup filter for webassets

https://pypi.python.org/pypi/webassets-rollup

License:MIT License


Languages

Language:Python 96.3%Language:Makefile 3.7%