Gulp plugin wrapping Rollup for ES module bundling, upgraded to ESM and Gulp v4. Latest version: 2.0.0. Provides a simple pipeable interface to integrate Rollup into Gulp workflows, supporting sourcemaps and custom Rollup config. Differentiates from gulp-better-rollup by being ESM-only and compatible with Rollup 3.x. Release cadence: low.
npm install gulp-rollup-pluginVerified import paths — ran on the pinned version, not inferred.
Transpile and bundle a JavaScript file using Rollup via Gulp, with sourcemap support.
Use import syntax or downgrade to a CJS-compatible alternative like gulp-better-rollup.
Install rollup@^3.1.0 alongside this package.
Upgrade Node.js to >=14 and Gulp to v4.
Install as npm i -D gulp-best-rollup.
Switch to import syntax and ensure your project is configured for ESM (e.g., 'type': 'module' in package.json).
Run npm i -D rollup@^3.1.0.
Upgrade Gulp to v4 (gulp@^4.0.0).