MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/72lh17/react_16/dnjeznb/?context=3
r/javascript • u/batmansmk • Sep 26 '17
63 comments sorted by
View all comments
16
This sounds great. I never used rollup. Will it always yield smaller bundles as opposed to webpack?
31 u/batmansmk Sep 26 '17 Short answer: No.TL;DR: webpack has more feature for apps, and rollup more for libs. https://medium.com/webpack/webpack-and-rollup-the-same-but-different-a41ad427058c 3 u/Skaryon Sep 26 '17 Haha I just read the same article. Thanks anyway! That answered my question thoroughly. 1 u/Pesthuf Sep 27 '17 But doesn't Webpack do that too?In the Webpack 3 announcement, they mentioned webpack.optimize.ModuleConcatenationPlugin()which supposedly does the same.
31
Short answer: No.
TL;DR: webpack has more feature for apps, and rollup more for libs. https://medium.com/webpack/webpack-and-rollup-the-same-but-different-a41ad427058c
3 u/Skaryon Sep 26 '17 Haha I just read the same article. Thanks anyway! That answered my question thoroughly. 1 u/Pesthuf Sep 27 '17 But doesn't Webpack do that too?In the Webpack 3 announcement, they mentioned webpack.optimize.ModuleConcatenationPlugin()which supposedly does the same.
3
Haha I just read the same article. Thanks anyway! That answered my question thoroughly.
1
But doesn't Webpack do that too?
In the Webpack 3 announcement, they mentioned
webpack.optimize.ModuleConcatenationPlugin()
which supposedly does the same.
16
u/Skaryon Sep 26 '17
This sounds great. I never used rollup. Will it always yield smaller bundles as opposed to webpack?