Package Exports
- rollup-plugin-simple-babel
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rollup-plugin-simple-babel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rollup-plugin-simple-babel
Simple and awesome Babel plugin for rollup
Quick start
1. Install plugin package via npm npm install rollup-plugin-simple-babel or via yarn yarn add rollup-plugin-simple-babel
2. Add plugin call into Rollup config file
// rollup.config.js
import babel from 'rollup-plugin-simple-babel';
module.exports = {
...,
plugins: [
babel()
],
...
}Options
This plugin supported all Babel options
Example:
import babel from 'rollup-plugin-simple-babel';
module.exports = {
...,
plugins: [
babel({
presets: ['@babel/preset-react']
})
],
...
}By default Babel calls without options
Copyright and license
Code and documentation copyright 2018 Vladimir Belov. Code released under the MIT license.