IT lexicon Web Rollup

Rollup

Web På svenska → Updated: 2026-07-30
More info
Creator
Rich Harris
Released
Type
JavaScript bundler
License
MIT
Website
Source
github.com/rollup/rollup

JavaScript bundler. Rich Harris (Svelte creator), 2015. Pioneered tree-shaking — strip unused exports from ESM imports. Standard for library bundling: Svelte, Vue, D3, Three.js publish via Rollup.

Distinct from Webpack: Rollup optimizes for library output (clean ESM/CJS bundle), Webpack optimizes for apps (code splitting, HMR, dynamic imports). Plugin system: @rollup/plugin-typescript, plugin-node-resolve, plugin-terser. Vite uses Rollup for production build (Vite itself is esbuild for dev server). Modern challenger: tsup (zero-config Rollup wrapper for TypeScript libs), unbuild (Nuxt team). Library author default 2024 often tsup or unbuild on top of Rollup.

← Back to the lexicon