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