r/javascript • • Sep 26 '17

React 16

https://facebook.github.io/react/blog/2017/09/26/react-v16.0.html
379 Upvotes

63 comments sorted by

View all comments

16

u/Skaryon Sep 26 '17

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.