Created
June 12, 2013 08:33
-
-
Save jbub/5763709 to your computer and use it in GitHub Desktop.
cssmin compressor for django-pipeline that is using the CompressorBase instead of SubProcessCompressor format
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
from pipeline.compressors import CompressorBase | |
class CSSMinCompressor(CompressorBase): | |
def compress_css(self, css): | |
from cssmin import cssmin | |
return cssmin(css) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment