Skip to content

rclmenezes/webassets-rollup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published