# Rollup

> ES module bundler for JavaScript libraries and apps, with tree shaking

Source: https://talira.ai/catalog/rollup-3a0frcmv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / build / bundlers](https://talira.ai/categories/developer-tools/build/bundlers), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source.
- Free tier: yes[^2]
- API: yes[^1]
- Plugins: yes[^3]
- Backed by: [Rollup](https://talira.ai/orgs/rollup.md)

Rollup is a module bundler for JavaScript that combines ES modules into a bundle for a library or an application, removing code that isn't used (tree shaking). It outputs ES modules, CommonJS, AMD, UMD and IIFE scripts, so code written as ES modules runs in browsers and Node.js versions that don't load them natively. It runs from the command line with an optional config file or through its JavaScript API, and a plugin system handles CommonJS imports, Node resolution, TypeScript, Babel, minification and more through the official @rollup/plugin-* packages. Parts of its core, including the parser, are written in Rust.

## Links

- Website: https://rollupjs.org/
- GitHub: https://github.com/rollup/rollup
- Docs: https://rollupjs.org/introduction/

## Problems it solves

- bundle my JavaScript library into ESM and CommonJS builds for npm
- remove unused code from my JavaScript bundle
- build one small JavaScript file for the browser from many ES modules

## Features

- Bundles ES modules into one file for a library or app
- Tree shaking removes code that isn't used
- Outputs ES modules, CommonJS, AMD, UMD and IIFE
- Command line with a config file, or a JavaScript API
- Official plugins for CommonJS, node resolution, TypeScript, Babel, aliases and Terser

## Limitations

- Importing CommonJS modules from node_modules needs the official @rollup/plugin-commonjs plugin[^1]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.80 out of 1.
Signals: maintenance 1.00, adoption 0.88, momentum 0.69, community 1.00, backing 0.30, extensibility 0.60.

- last commit 8 days ago
- 185 commits in the last 90 days
- latest release v4.68.8 9 days ago
- 26.3k GitHub stars
- 498 contributors
- accepts sponsorship (Open Collective)
- has a company behind it
- has a plugin system

## Alternatives

- [esbuild](https://talira.ai/catalog/esbuild-198nyf0k.md): An extremely fast bundler for the web
- [webpack](https://talira.ai/catalog/webpack-9pcx44tb.md): A bundler for javascript and friends
- [Parcel](https://talira.ai/catalog/parcel-2zm6hky3.md): The zero configuration build tool for the web
- [Rolldown](https://talira.ai/catalog/rolldown-2aeecet9.md): Fast Rust bundler for JavaScript and TypeScript with a Rollup-compatible API
- [tsdown](https://talira.ai/catalog/tsdown-8gyzrn37.md): Library bundler for TypeScript and JavaScript, built on Rolldown
- [TSDX](https://talira.ai/catalog/tsdx-e3g7pf3f.md): Zero-config CLI for developing, testing and publishing TypeScript packages

## Sources

[^1]: https://github.com/rollup/rollup/blob/master/README.md (checked 26 Nov 2026)
[^2]: https://github.com/rollup/rollup/blob/master/LICENSE.md (checked 26 Nov 2026)
[^3]: https://rollupjs.org/introduction/ (checked 26 Nov 2026)
