PDA

View Full Version : Google Closure Compiler



hitman01
16 Feb 2011, 3:26 PM
Did anyone try Google's JS compressor with Sencha? It reduced sencha-touch.js from 359.5KB to 262.0KB, however, there were tons of errors and the code did not execute.

mitchellsimoens
16 Feb 2011, 5:18 PM
Probably the best thing to do is use JS Builder to get rid of things you do not need in your app.

hitman01
17 Feb 2011, 6:33 AM
I believe Sencha's JS Builder uses YUI Compressor, but apparently Google's compressor is much more effective.

mitchellsimoens
17 Feb 2011, 6:34 AM
I believe Sencha's JS Builder uses YUI Compressor, but apparently Google's compressor is much more effective.

Except according to the OP it's not very effective