Rollup
A JavaScript bundler focused on ECMAScript modules, widely used to build libraries.
In more detail
Rollup pioneered tree shaking and respects the sideEffects field. Vite uses it (or its successor) for production builds.
Related terms
- bundler — A build tool, such as webpack, Rollup or Vite, that follows imports and combines modules into files a browser can load efficiently.
- tree shaking — Removing code that is exported but never imported from the final bundle, so less code is shipped.
- Vite — A fast frontend build tool and development server that serves ECMAScript modules directly during development.
Taught in
- Component Packaging: Dual ESM/CJS Builds & Package Exports — Design Systems & Component Engineering