Rollup.js
lastmod 2026-11-10created 2022-12-212 edits
Rollup.js is a module bundler that bundles JavaScript code into a single file or multiple chunks based on ES modules (import/export). It supported tree shaking, which removes unused code, from early on, and because it can produce multiple output formats such as ESM, CommonJS, UMD, and IIFE, it is widely used as a bundler for distributing libraries. Its plugin system is simple, and it also serves as the foundation for tools such as Vite's production build and SvelteKit.