Reputation: 601
I had this question because that I want to minimize footprint of my distribution as my distribution is targeted for Chrome only.
So is it possible to build jQuery specially for some kind of browser only to make it smaller?
Upvotes: 0
Views: 23
Reputation: 12452
There is no Chrome only build of jQuery. But you can use jQuery 3. With this version they dropped support for many old browsers completly, wich makes the new version mutch smaller.
Since 3.1.0 of jQuery there is even a slim build
. This version has no support for AJAX, effects and deprecated code. If you don't need these, you can use that version too.
jQuery 3.0.0 Release
jQuery 3.1.0 Relese
Upvotes: 1