Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What javascript min tool does jquery use?

I have a great deal of javascript that needs to be min'd before being served to the end user. Currently, I'm using JSMIN, but I'd like to switch to something a bit more powerful (such as something with local variable replacement). I'm currently looking at YUI min developed by yahoo, and it got me thinking about the min tool that jquery uses. Does anyone know what it is and if it's publicly available? Also, any recommendations on other min tools that might be better suited than YUI min? If possible, I'd like a java solution so I can just plug the library into what I've already created for the JSMIN solution.

Thanks

like image 768
JDS Avatar asked May 18 '10 15:05

JDS


1 Answers

In jQuery 1.4, Google Closure Compiler is used.

See the FAQ in jQuery.

like image 92
Prahlad Avatar answered Sep 24 '22 23:09

Prahlad