3 ms·
One of the nice things about the Closure compiler is it prunes dead code for you. So, for example your original source can include test harnesses or full unit
by dugmartin 17y ago
One of the nice things about the Closure compiler is it prunes dead code for you. So, for example your original source can include test harnesses or full unit tests and as long as you wrap the code definitions with a global flag set to false that test code doesn't ship in the minified version.