3 ms·
Why not add a only Tree-Shaking Plugin to Webpack? Or is there any other breaking feature why a complete new builder is necessary?
by progx 11y ago
Why not add a only Tree-Shaking Plugin to Webpack?
Or is there any other breaking feature why a complete new builder is necessary?
- nailer 11y agoProbably for similar reasons webpack didn't add plugins to browserify.
- mangecoeur 11y agobut what were those reasons?? Actually you can go down this rabbithole endlessly, asking each library in turn when they were invented rather than improving the one before...
- e1g 11y agoLooks like webpack2 will have that feature out of the box -https://github.com/webpack/webpack/tree/webpack-2/examples/harmony-unused https://github.com/webpack/webpack/tree/webpack-2/examples/h...