3 ms·
We call this "tree shaking" when compiling to JavaScript. The biggest downside is compile time. Your linker is doing more work and it can't easily be distribute
by skybrian 12y ago
We call this "tree shaking" when compiling to JavaScript. The biggest downside is compile time. Your linker is doing more work and it can't easily be distributed.
- gioele 12y agoFor those like me that do not know the term "tree shaking", it is «a technique to "shake" off unused code» [1]. I suppose it is dead code removal done at link time. But what is "link time" in JavaScript? [1] http://blog.sethladd.com/2013/01/minification-is-not-enough-you-need.html http://blog.sethladd.com/2013/01/minification-is-not-enough-...