Rollup is a module bundler for JavaScript that compiles ES6 modules into CommonJS, AMD, IIFE, or UMD formats. Current stable version is v0.0.2 (extremely early, pre-1.0). It pioneered tree-shaking for ES modules, making it popular for building libraries. Key differentiators vs webpack: smaller bundle sizes, faster builds for libraries, native ES module support. Releases are infrequent. Note: this package is abandoned; use the main 'rollup' package at npmjs.com/package/rollup.
npm install rollup-no-tty-checkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic rollup programmatic usage: bundle creation from an entry point, using plugins (node-resolve, commonjs), generating output, and closing the bundle.
Install the real rollup: npm install rollup@latest
npm install --save-dev @rollup/plugin-node-resolve
import { rollup } from 'rollup'; // correct named importProvide output options: await bundle.write({ format: 'cjs', dir: 'dist' });npm install lodash
No dependency data recorded yet.