Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Rollup

rollupjs.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • API
8.0 Club score Visit rollupjs.org

What Rollup is

Rollup is a free JavaScript module bundler for combining smaller code modules into applications or libraries. It supports browser and Node.js builds in ES modules, CommonJS, UMD, AMD, IIFE, and SystemJS formats. Static analysis enables tree-shaking, removing imported code that is unused, while code splitting can distribute code across entry points and dynamic imports. Developers can configure inputs, outputs, plugins, tree-shaking, and watch mode through a command-line interface or JavaScript API. Its plugin API supports code injections and transformations, and a plugin can enable importing existing CommonJS modules. The documentation links to a browser REPL that accepts ES6 modules and offers several output choices. The project says Vite pre-configures Rollup with defaults and plugins, while WMR adopted its plugin API. Rollup is released under the MIT License, supports TypeScript and source maps, and provides guidance to use current versions and report vulnerabilities privately through GitHub Security.

Who it suits

It suits developers building browser or Node.js applications and libraries who need configurable bundling, multiple output formats, tree-shaking, and plugins. It is also available through a browser REPL.

Good to know, and what to watch

  • Free under the MIT License
  • Tree-shaking removes unused imported code
  • Multiple browser and Node.js output formats
  • CLI and JavaScript API interfaces
  • Plugin API for transformations and injections
  • No free trial is listed separately
  • CommonJS importing requires a plugin
  • Configuration is centered on JavaScript builds

The verdict

Rollup provides a configurable bundling workflow with tree-shaking, code splitting, plugins, and many output formats. Its free MIT-licensed distribution and browser REPL make the tool accessible across command-line, API, and browser contexts.

What the maker publishes

Browser REPL
Rollup provides a browser REPL that accepts ES6 modules and offers output format choices including ES, AMD, CJS, IIFE, UMD, and System. source
Browser use
The documentation includes a page for running Rollup in a browser, and the site links to an online REPL. source
Code formats
Rollup can output formats including ES modules, CommonJS, UMD, AMD, IIFE, and SystemJS. source
Code splitting
It can split code across entry points and dynamic imports using the output format’s import mechanism. source
Compatibility
Rollup can import existing CommonJS modules through a plugin. source
Configuration
Rollup provides configuration options for inputs, outputs, plugins, tree-shaking, and watch mode. source
Configuration
Rollup configuration files are optional, and the documentation recommends them as a convenient way to configure advanced functionality. source
Integrations
The site says Vite pre-configures Rollup with defaults and plugins, and names WMR as a project that adopted its plugin API. source
Interfaces
Rollup can be used through a command-line interface or its JavaScript API. source
Interfaces
Rollup can be used from a command line interface or through its JavaScript API. source
License
Rollup is released under the MIT License. source
Output formats
It supports output formats including ES modules, CommonJS, UMD, and SystemJS. source
Plugins
Rollup provides a plugin API for code injections and transformations. source
Purpose
Rollup is a JavaScript module bundler that compiles small pieces of code into larger applications or libraries. source
Purpose
Rollup is a JavaScript module bundler that compiles smaller code modules into libraries or applications. source
Security
The project asks users to report vulnerabilities through a private GitHub vulnerability report and recommends using the latest Rollup and official plugin versions. source
Security guidance
The security page recommends using the latest versions of Rollup and its official plugins. source
Security reporting
The project asks vulnerability reporters to submit a private vulnerability report through GitHub Security. source
Support
The Rollup site links to a chat channel and to Open Collective for project contributions. source
Tree-shaking
It statically analyzes imported code and removes code that is not used. source
Tree-shaking
Rollup statically analyzes imported code and excludes parts that are not used. source
Use cases
The project describes Rollup as suitable for building libraries and applications, including builds targeting browsers and Node.js. source

Checked against the maker's pages on 4 Oct 2026.