The future of project bundlers - webpack vs Rollup
webpack
64%
rollup
36%
28 votes · Closed
webpack : https://webpack.github.io/
Rollup : http://rollupjs.org/
Which one's better? Will Rollup over take webpack?
Webpack has the bigger community and is much more developed but rollup has 'tree-shaking', for ES6 and commonJS, and is easy to use - with a growing following.
I must admit I really like the idea of tree-shaking but when webpack v2 gets released (with tree-shaking) will rollup be forgotten and fade into the background?
The configuration for rollup is easier too.
Further reading:
https://code.lengstorf.com/learn-rollup-js/
https://github.com/rollup/rollup