My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

The future of project bundlers - webpack vs Rollup

TheSheriff's photo
TheSheriff
·Aug 24, 2016

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