MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/5rhndd/webpack_2_and_beyond/dd8yiug/?context=3
r/javascript • u/TheLarkInn • Feb 01 '17
11 comments sorted by
View all comments
Show parent comments
5
Fake news.
2 u/turkish_gold Feb 02 '17 It's 'broken' in that it doesn't yet do tree-shaking properly in all circumstances, and tree-shaken builds can actually be larger than non-tree shook builds.For me, I've just stopped trying to tree-shake via Uglfiy, and use rollup. 1 u/cpsubrian Feb 02 '17 Do you mean you use rollup instead of webpack or that you use rollup on top of webpack to facilitate tree-shaking? 1 u/turkish_gold Feb 02 '17 Right now I use rollup instead of webpack when I can get away with it.I do plan to use the webpack-rollup-plugin pretty soon, to see how well the two integrate.
2
It's 'broken' in that it doesn't yet do tree-shaking properly in all circumstances, and tree-shaken builds can actually be larger than non-tree shook builds.
For me, I've just stopped trying to tree-shake via Uglfiy, and use rollup.
1 u/cpsubrian Feb 02 '17 Do you mean you use rollup instead of webpack or that you use rollup on top of webpack to facilitate tree-shaking? 1 u/turkish_gold Feb 02 '17 Right now I use rollup instead of webpack when I can get away with it.I do plan to use the webpack-rollup-plugin pretty soon, to see how well the two integrate.
1
Do you mean you use rollup instead of webpack or that you use rollup on top of webpack to facilitate tree-shaking?
1 u/turkish_gold Feb 02 '17 Right now I use rollup instead of webpack when I can get away with it.I do plan to use the webpack-rollup-plugin pretty soon, to see how well the two integrate.
Right now I use rollup instead of webpack when I can get away with it.
I do plan to use the webpack-rollup-plugin pretty soon, to see how well the two integrate.
5
u/SushiArmedNinja Feb 02 '17
Fake news.