Skip to content

Instantly share code, notes, and snippets.

@zgohr
Created December 16, 2012 19:04
Show Gist options
  • Save zgohr/4311423 to your computer and use it in GitHub Desktop.
Save zgohr/4311423 to your computer and use it in GitHub Desktop.
UglifyJS django-compressor filter
from compressor.filters import CompilerFilter
class UglifyFilter(CompilerFilter):
command = "uglifyjs {infile} -o {outfile} -c -m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment