{"id":27019,"library":"gobble-rollup-babel","title":"gobble-rollup-babel","description":"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.","status":"maintenance","version":"0.6.1","language":"javascript","source_language":"en","source_url":"https://github.com/gobblejs/gobble-rollup-babel","tags":["javascript","gobble","gobble-plugin"],"install":[{"cmd":"npm install gobble-rollup-babel","lang":"bash","label":"npm"},{"cmd":"yarn add gobble-rollup-babel","lang":"bash","label":"yarn"},{"cmd":"pnpm add gobble-rollup-babel","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"required peer dependency: build system","package":"gobble","optional":false},{"reason":"required peer dependency: module bundler","package":"rollup","optional":false},{"reason":"required peer dependency: transpilation","package":"babel-core","optional":false}],"imports":[{"note":"CommonJS only; package does not provide ESM exports.","wrong":"import gobbleRollupBabel from 'gobble-rollup-babel';","symbol":"gobbleRollupBabel","correct":"const gobbleRollupBabel = require('gobble-rollup-babel');"}],"quickstart":{"code":"const gobble = require('gobble');\nconst gobbleRollupBabel = require('gobble-rollup-babel');\n\nmodule.exports = gobble('src')\n  .transform('rollup-babel', {\n    entry: 'main.js',\n    dest: 'bundle.js',\n    format: 'iife',\n    moduleName: 'MyApp',\n    plugins: [],\n    external: [],\n    globals: {},\n    sourceMap: true,\n    babel: {\n      presets: ['es2015'],\n      plugins: ['transform-object-rest-spread']\n    }\n  });","lang":"javascript","description":"Shows how to use the plugin in a gobble file to bundle ES6 modules via Rollup and Babel."},"warnings":[{"fix":"Consider migrating to modern alternatives like Vite, webpack, or rollup directly.","message":"The package is no longer actively maintained and may have compatibility issues with modern versions of Rollup or Babel.","severity":"deprecated","affected_versions":">=0.6.0"},{"fix":"Ensure babel config is an object with presets and plugins arrays as shown in the documentation.","message":"The 'babel' configuration expects an object with 'presets' and 'plugins' arrays; using a different structure will cause failures.","severity":"gotcha","affected_versions":">=0.6.0"},{"fix":"Use the new API: pass babel options as { babel: { presets: ['es2015'] } } instead of flat presets.","message":"Breaking 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.","severity":"breaking","affected_versions":">=0.6.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'npm install gobble-rollup-babel' and ensure it is in package.json dependencies.","cause":"Package not installed or not in node_modules","error":"Cannot find module 'gobble-rollup-babel'"},{"fix":"Run 'npm install babel-core' to install the peer dependency.","cause":"Missing required peer dependency babel-core","error":"Error: Cannot find module 'babel-core'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}