Skip to main content

clean-css compressor for Gears

Project description

clean-css compressor for Gears. This package already includes the clean-css source code for you, so you don’t need to worry about installing it yourself.

Bundled clean-css version: 0.6.0


Install gears-clean-css with pip:

$ pip install gears-clean-css


gears-clean-css requires node.js to be installed in your system.


Add gears_clean_css.CleanCSSCompressor to environment’s compressors registry:

from gears_clean_css import CleanCSSCompressor
environment.compressors.register('text/css', CleanCSSCompressor.as_handler())

If you use Gears in your Django project, add this code to its settings:

    'text/css': 'gears_clean_css.CleanCSSCompressor',

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gears-clean-css-0.1.1.tar.gz (152.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page