Remove support uglifyjs
article thumbnail

Tree Shaking - How to Clean Up Your JavaScript

KeyCDN

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.

Code 47