If you use the popular Django Compressor package, it’s finally getting a few much needed updates including the latest rJSmin, support for rCSSMin, as well as a variety of bug fixes.
I contributed support for yUglify now that YUI Compressor has been officially deprecated (although it lives on under a new contributor model). You can use the new filters like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMPRESS_CSS_FILTERS = ['compressor.filters.yuglify.YUglifyCSSFilter'] | |
COMPRESS_JS_FILTERS = ['compressor.filters.yuglify.YUglifyJSFilter'] |
You can install the latest development version using Pip:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install http://github.com/django-compressor/django-compressor/tarball/develop |