Reputation: 1164
The Google closure library is huge, how can I reduce size of it to deploy it with my project? It contains lots JavaScript files and whole bunch of resources, in total 14mb, would be nice to know what can I do to optimize it.
Upvotes: 2
Views: 350
Reputation: 5468
It isn't a standalone library. It is intended to be used in parts. For simple hacking you can however use http://www.programmingclosure.com/closure-lite/
Upvotes: 2
Reputation: 816820
I don't think the library (as is) is intended to be used in production. Use the Closure Compiler.
See also Shrinking Code with ClosureBuilder and the Closure Compiler in the Google Closure documentation.
Upvotes: 3