A simple Rollup plugin that wraps Babel to allow seamless transpilation during bundling. Version 1.0.6 (latest as of early 2019) is stable but low maintenance. It passes all Babel options through via the plugin invocation. Unlike @rollup/plugin-babel, it does not automatically select files or require Babel configuration; it transforms all JavaScript files. Recommended only for trivial setups; most projects should use @rollup/plugin-babel for better integration, performance, and automatic detection of Babel configs.
npm install rollup-plugin-simple-babelVerified import paths — ran on the pinned version, not inferred.
Minimal Rollup config using rollup-plugin-simple-babel with Babel presets and plugins.
Use @rollup/plugin-babel which supports filtering and is actively maintained.
Migrate to @rollup/plugin-babel: npm install @rollup/plugin-babel --save-dev
Ensure @babel/core and Babel presets/plugins are installed as devDependencies.
Duplicate Babel options in rollup.config.js or use @rollup/plugin-babel which respects babel config files.
Use default import: import babel from 'rollup-plugin-simple-babel'
Run: npm install @babel/core --save-dev
Run: npm install @babel/preset-env --save-dev
Use default import: import babel from 'rollup-plugin-simple-babel'