Core features and highlights
Rollup is a module bundler focused on modern JavaScript, built on ES Module to enable efficient tree-shaking and scope hoisting. It supports output formats like ESM, CJS, UMD, and IIFE, and offers code splitting, sourcemap support, and a broad plugin ecosystem (e.g. TypeScript, Babel, CommonJS plugins).
Use cases and target users
Suited for library authors, front-end engineers, and teams aiming for minimal bundle size and clear modularity. Common uses include publishing NPM packages, building modern front-end components, or integrating Rollup into CI/build pipelines.
Key advantages
- Small output size and few runtime dependencies, making publishing and reuse easier
- tree-shaking is effective, and scope hoisting boosts runtime performance
- Mature plugin ecosystem, highly extensible, with simple, easy-to-adopt configuration
- Especially friendly for library bundling; generated packages are easier for other tools to consume
Visit https://rollupjs.org for full documentation and usage examples.