Need advice about which tool to choose?Ask the StackShare community!

rollup

1.4K
3
+ 1
0
webpack

3.7K
18
+ 1
0
Add tool

webpack vs rollup: What are the differences?

What is webpack? Packs CommonJs/AMD modules for the browser. Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

What is rollup? Next-generation ES module bundler. Next-generation ES module bundler.

webpack and rollup belong to "npm Packages" category of the tech stack.

webpack and rollup are both open source tools. It seems that webpack with 59.4K GitHub stars and 8.02K forks on GitHub has more adoption than rollup with 20.7K GitHub stars and 1.06K GitHub forks.

Payzli, TurkDevOps, and tribe29 are some of the popular companies that use webpack, whereas rollup is used by 成都探码科技有限公司, SS-Test 17 August 2021, and sstestkt. webpack has a broader approval, being mentioned in 890 company stacks & 558 developers stacks; compared to rollup, which is listed in 162 company stacks and 263 developer stacks.

rollup Stats
  • Dependent Packages Counts - 47.2K
webpack Stats
  • Dependent Packages Counts - 128K
rollup Vulnerabilities
No Vulnerabilities found
webpack Vulnerabilities
  • Cross-realm object access in Webpack 5
    Critical
rollup Release info
Latest version
4.13.0
MIT
webpack Release info
Latest version
5.91.0
MIT

What is rollup?

Next-generation ES module bundler.

What is webpack?

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

Need advice about which tool to choose?Ask the StackShare community!

What companies use rollup?
What companies use webpack?
See which teams inside your own company are using rollup or webpack.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What are some alternatives to rollup and webpack?
eslint
An AST-based pattern checker for JavaScript.
typescript
TypeScript is a language for application scale JavaScript development.
react
React is a JavaScript library for building user interfaces.
react-dom
React package for working with the DOM.
prettier
Prettier is an opinionated code formatter.
See all alternatives