4 ms·
> Tree shaking still isn't that great or widely available This sounds like an opinion based on the state of web development a decade ago. In 2020 on the other
by filleduchaos 7y ago
> Tree shaking still isn't that great or widely available
This sounds like an opinion based on the state of web development a decade ago.
In 2020 on the other hand the Google Closure Compiler has been a mature project for years, and even projects not explicitly focused on dead code elimination (bundlers like Webpack and Rollup) do a decently thorough job of cutting out unnecessary code with the right plugins.