4 ms·
It (like the rest of the Closure Library) is designed to be used with the Closure Compiler: http://code.google.com/closure/compiler/ http://code.google.com/clo
by rwalker 16y ago
It (like the rest of the Closure Library) is designed to be used with the Closure Compiler:
http://code.google.com/closure/compiler/ http://code.google.com/closure/compiler/
The general philosophy is: for development, loading lots of files is ok and in some cases easier to debug. For production, the compiler will often strip out much more code than just minification would.
- swilliams 16y agoI saw that, and agree with that philosophy, but does the compiler also pull in all the extra files too? I didn't see it spelled out... I'm guessing yes, so I'll play around with it later tonight.
- rwalker 16y agoI'm not sure exactly what files get pulled in by the compiler, but it will remove any dead code (meaning 100% of any extra files) and output a single minimized file.