Tree Shaking - How to Clean Up Your JavaScript
KeyCDN
JANUARY 9, 2019
The concept was popularized by the bundler Rollup in 2015, but most other bundlers now support tree shaking. webpack has supported ES6 modules and tree shaking since version 2, but webpack 4 has some additional features that assist with dead code elimination. To achieve this you can use the UglifyJS Plugin.
Let's personalize your content