Registry / devops / rg-rollup

rg-rollup

JSON →
library0.1.8jsnpmunverified

A Gulp plugin for Rollup that provides clean, minified builds via simple configuration. Current stable version is 0.1.8, with low release cadence (last update 2018). It wraps Rollup and common plugins (e.g., babel, uglify) for Gulp-based workflows. Differentiator: minimal configuration compared to manual Rollup setup, but outdated and not actively maintained.

npm install rg-rollup
INSTALL
IMPORT
SIG · RG-ROLLUP
R
rg-rollup
devopsjavascriptv0.1.8
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import rgRollup from 'rg-rollup';
const rgRollup = require('rg-rollup');
ESM default import. No CJS exports provided.
rgRollup
import rgRollup from 'rg-rollup';
import { rgRollup } from 'rg-rollup';
Package exports a default function, not named export. Wrong import will result in undefined.
gulp
import gulp from 'gulp'; import rgRollup from 'rg-rollup';
var gulp = require('gulp'); var rg = require('rg-rollup');
Both gulp and rg-rollup are ESM-only. Mixing require() with import may cause errors if project uses ESM.

Shows a basic Gulp task using rg-rollup to bundle and minify a JavaScript file, assuming ESM imports.

import gulp from 'gulp'; import rgRollup from 'rg-rollup'; gulp.task('build', function() { return gulp.src('src/index.js') .pipe(rgRollup({ format: 'iife', plugins: { babel: { presets: ['@babel/preset-env'] }, uglify: {} } })) .pipe(gulp.dest('dist')); });
Debug
Known issues
deprecatedPackage is no longer maintained. Last update was in 2018.
fix
Migrate to modern alternatives: use rollup directly or @rollup/plugin-gulp.
affects: >=0.0.0
breakingrg-rollup is ESM-only. Cannot be required() in CommonJS modules without dynamic import.
fix
Use import syntax; if on Node <13.2, use esm package or upgrade Node.
affects: >=0.1.0
gotchaPlugin configuration expects nested object under 'plugins' key, not array of Rollup plugins.
fix
Use format shown in quickstart, not Rollup's official plugin array format.
affects: >=0.0.0
Errors
Common errors & fixes
TypeError: rgRollup is not a function
Importing { rgRollup } instead of default import.
fix
Use: import rgRollup from 'rg-rollup';
Error: Cannot find module 'rg-rollup'
Package not installed or misspelled name.
fix
npm install rg-rollup --save-dev
Upgrade
Version history
0.1.8latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
rg-rollup — npm install rg-rollup · libregistry