{"library":"rollup-plugin-babel-runtime-external","title":"rollup-plugin-babel-runtime-external","description":"Rollup plugin (v2.0.0, last released 2017, no recent updates) to automatically mark babel-runtime modules as external during bundling. Purpose: avoid duplicating babel helpers/polyfills when using @babel/runtime. Requires peer dependencies babel-runtime >=6.25.0 and rollup >=0.45.2. Differentiator: simplifies rollup config by auto-detecting babel-runtime imports vs manual external list.","language":"javascript","status":"maintenance","last_verified":"Sat Apr 25","install":{"commands":["npm install rollup-plugin-babel-runtime-external"],"cli":null},"imports":["import babelRuntimeExternal from 'rollup-plugin-babel-runtime-external'","import babelRuntimeExternal from 'rollup-plugin-babel-runtime-external'","babelRuntimeExternal({ helpers: true, polyfill: false, regenerator: true })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport babelRuntimeExternal from 'rollup-plugin-babel-runtime-external';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'cjs'\n  },\n  plugins: [\n    babelRuntimeExternal({\n      helpers: true,\n      polyfill: true,\n      regenerator: true\n    })\n  ]\n};","lang":"javascript","description":"Rollup configuration using the plugin to externalize babel-runtime modules with all options enabled.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}