gobble-rollup

raw JSON →
0.40.0 verified Mon Apr 27 auth: no javascript abandoned

A gobble plugin to bundle ES6 modules using Rollup. Version 0.40.0 is the latest stable release. Abandoned since 2017; no updates for over 8 years, last commit on 2015-11-08. No longer maintained. Alternatives: use Rollup directly with modern build tools.

error Error: Cannot find module 'gobble'
cause gobble not installed
fix
npm install gobble
error Error: Cannot find module 'rollup'
cause rollup not installed
fix
npm install rollup
error TypeError: gobble is not a function
cause gobble not required correctly
fix
const gobble = require('gobble');
deprecated Package is abandoned; no updates since 2015.
fix Use Rollup directly or modern bundler like Vite.
gotcha Requires gobble build system; cannot be used standalone.
fix Install gobble as a parent dependency.
gotcha Rollup version compatibility unknown; may break with modern Rollup versions.
fix Pin Rollup to version compatible with this plugin's peer range.
npm install gobble-rollup
yarn add gobble-rollup
pnpm add gobble-rollup

Shows how to use gobble-rollup to bundle app.js from 'src' directory into an IIFE bundle.

const gobble = require('gobble');
module.exports = gobble('src').transform('rollup', {
  entry: 'app.js',
  dest: 'bundle.js',
  format: 'iife',
  moduleName: 'MyApp'
});