How can I reduce the size of Google closure library for deployment?

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.


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.

It isn't a standalone library. It is intended to be used in parts. For simple hacking you can however use

Need Your Help

wxPython wx.TextCtrl dynamically resizing to fill panel width

wxpython width textctrl

I want a wx.TextCtrl to take the entire remaining width of a panel. It is placed with a wx.StaticText and a wx.Button in a horizontal wx.BoxSizer in a vertical wx.BoxSizer in a wx.lib.scrolledpanel.