Skip to content Skip to sidebar Skip to footer

How To Pass Filter Specific Configuration Options In Webassets

Using flask, flask-assets, webassets I am trying to pass a filter specific configuration for a particular filter in webassets, but haven't been able to do so, so far. Have read the

Solution 1:

On retrying with the first option in question:

CLEANCSS_EXTRA_ARGS = ['--skip-rebase']

It worked!

More info available in the flask assets repo issues.

In my hurry I must have tried with:

CLEANCSS_EXTRA_ARGS = ['skip-rebase']

which didn't work and hence the question.


This feature should be documented though. Will probably submit a pull request for doc improvement.


Also note that this requires version 0.11 (webassets) and above.

Post a Comment for "How To Pass Filter Specific Configuration Options In Webassets"