Registry / devops / gobble-rollup-babel

gobble-rollup-babel

JSON →
library0.6.1jsnpmunverified

A gobble plugin for bundling ES6 modules using Rollup and Babel. Current stable version is 0.6.1. Typically used in older JavaScript projects that combine the gobble build system with Rollup for module bundling and Babel for transpilation. This plugin allows configuration of Rollup options and Babel presets/plugins. It is part of the gobble ecosystem and is not actively maintained, with limited documentation and community support. Consider using modern alternatives like Vite or webpack.

npm install gobble-rollup-babel
INSTALL
IMPORT
SIG · GOBBLE-ROLLUP-BABE
G
gobble-rollup-babel
devopsjavascriptv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

gobbleRollupBabel
const gobbleRollupBabel = require('gobble-rollup-babel');
import gobbleRollupBabel from 'gobble-rollup-babel';
CommonJS only; package does not provide ESM exports.

Shows how to use the plugin in a gobble file to bundle ES6 modules via Rollup and Babel.

const gobble = require('gobble'); const gobbleRollupBabel = require('gobble-rollup-babel'); module.exports = gobble('src') .transform('rollup-babel', { entry: 'main.js', dest: 'bundle.js', format: 'iife', moduleName: 'MyApp', plugins: [], external: [], globals: {}, sourceMap: true, babel: { presets: ['es2015'], plugins: ['transform-object-rest-spread'] } });
Debug
Known issues
deprecatedThe package is no longer actively maintained and may have compatibility issues with modern versions of Rollup or Babel.
fix
Consider migrating to modern alternatives like Vite, webpack, or rollup directly.
affects: >=0.6.0
gotchaThe 'babel' configuration expects an object with 'presets' and 'plugins' arrays; using a different structure will cause failures.
fix
Ensure babel config is an object with presets and plugins arrays as shown in the documentation.
affects: >=0.6.0
breakingBreaking change in v0.6.0: Plugin renamed from 'rollup-babel' to 'rollup-babel' (same) but API changed; configuration moved from top-level to nested under 'babel' key.
fix
Use the new API: pass babel options as { babel: { presets: ['es2015'] } } instead of flat presets.
affects: >=0.6.0
Errors
Common errors & fixes
Cannot find module 'gobble-rollup-babel'
Package not installed or not in node_modules
fix
Run 'npm install gobble-rollup-babel' and ensure it is in package.json dependencies.
Error: Cannot find module 'babel-core'
Missing required peer dependency babel-core
fix
Run 'npm install babel-core' to install the peer dependency.
Upgrade
Version history
0.6.1latest on npm
Audit
Dependencies
gobblerequiredrequired peer dependency: build system
rolluprequiredrequired peer dependency: module bundler
babel-corerequiredrequired peer dependency: transpilation
Agent activity
4 hits · last 30 days
node
4
Resources
gobble-rollup-babel — npm install gobble-rollup-babel · libregistry