Reputation: 21
what is the best JS minifier / obfuscator to use for projects that use JQuery? I'm currently using the closure compiler and I've also tried YUI but they never seem to minify and optimise my function names or variable names, effectively all they do is remove whitespace and comments whereas I'm trying to make my code as small as possible and hide as much as possible.
Any ideas?
Thanks
Upvotes: 0
Views: 2836
Reputation: 17910
Closure is a good minifier. Also there are other minifiers worth to check,
Packer: http://dean.edwards.name/packer/
JSMin: http://crockford.com/javascript/jsmin
Upvotes: 0
Reputation: 74036
Take a look at the closure compiler again. It has 3 execution levels
Upvotes: 1