gears-clean-cssclean-css compressor for Gears | |
Download |
gears-clean-css Ranking & Summary
Advertisement
- License:
- ISC License
- Price:
- FREE
- Publisher Name:
- Mike Yumatov
- Publisher web site:
- http://github.com/trilan/
gears-clean-css Tags
gears-clean-css Description
gears-clean-css is a Python module that already includes the clean-css source code for you, so you don't need to worry about installing it yourself.InstallationInstall gears-clean-css with pip: pip install gears-clean-cssUsageAdd gears_clean_css.CleanCSSCompressor to environment's compressors registry:from gears_clean_css import CleanCSSCompressorenvironment.compressors.register('text/css', CleanCSSCompressor.as_handler())If you use Gears in your Django project, add this code to its settings:GEARS_COMPRESSORS = { 'text/css': 'gears_clean_css.CleanCSSCompressor',}Product's homepage
gears-clean-css Related Software