documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

compression disabled even if uglifier is chosen #185

Open jewilmeer opened 13 years ago

jewilmeer commented 13 years ago

When choosing uglifier as a compressor for javascripts, it still is complaining about missing java. But that's why I chose uglifier, I do not want java on my server.

Can this somehow be patched?

Tnx, Jan-Willem

vandrijevik commented 13 years ago

Jan-Willem,

As mentioned on http://documentcloud.github.com/jammit/#compressors, CSS compression is always done via the YUI Compressor, so even if you use UglifyJS to compress JavaScript, CSS compression depends on a Java runtime.

jewilmeer commented 13 years ago

but wouldn't it be nice to enable compression for just the javascript if UglifyJS is able to do so? Then the css will just be left packaged but not compressed