Skip to content
R

rollup.js

Rollup is a module bundler for JavaScript

Free

#4836in Developer Tools
0In stores

Description

Rollup is a JavaScript module bundler. It takes small pieces of code written as ES modules and combines them into a larger file, such as an…

Highlights

  • Outputs ES modules, CommonJS, UMD, SystemJS and more
  • Tree-shaking removes unused code from the bundle
  • Code-splitting by entry point and dynamic import
  • Plugin API for custom transforms during the build
  • Used as the production bundler behind Vite

Ratings & Reviews

No ratings yet

Be the first to rate rollup.js.

People also visit

E

esbuild

An extremely fast JavaScript bundler and minifier

Developer Tools
Launch
W

Webpack

Webpack is a module bundler

Developer Tools
Launch
P

Parcel

Blazing fast, zero configuration web application bundler

Utilities
Launch
G

Gulp.js

Automate and enhance your workflow

Developer Tools
Launch
B

Brunch

Brunch builds, lints, compiles

Utilities
Launch
B

Bun.sh

Bun is an all-in-one JavaScript runtime & toolkit designed for speed

Developer Tools
Launch

rollup.js FAQ

Is Rollup free to use?

Yes. Rollup is released under the MIT License and its source code is public on GitHub.

What is tree-shaking?

Tree-shaking removes code that is never executed from the final bundle. Rollup analyses the execution paths of your modules to decide what can be dropped.

Which output formats does Rollup support?

ES modules, CommonJS, UMD and SystemJS, among others, so the same code can run in browsers or in Node.js.

Can I write my own plugins?

Yes. Rollup has a plugin API that lets you inject code and transform modules during the build. The documentation includes a guide on writing plugins.

Does Rollup support code-splitting?

Yes. It splits code based on entry points and dynamic imports, instead of relying on a custom loader.

What are the best rollup.js alternatives?

Popular alternatives to rollup.js include esbuild, Webpack and Gulp.js. See all rollup.js alternatives

Developer Stuff

Badges