How to Do Proper Tree-Shaking in Webpack 2
Associated with
Soós Gábor Soós Gábor
Posted Apr 24, 2017 7 min read
How to Do Proper Tree-Shaking in Webpack 2

Tree-shaking means that Javascript bundling will only include code that is necessary to run your application. The term tree-shaking was first introduced by Rich Harris' module bundler, Rollup. It has been made available by the static nature of ES2015 modules (exports and imports can't be modified at runtime), which lets us detect unused code at bundle ... Continued

More Ways to Read:
🧃 Summarize The key takeaways that can be read in under a minute
Sign up to unlock