rollup-plugin-simple-babel

1.0.6 • Public • Published

rollup-plugin-simple-babel

Build Status Maintainability Coverage Status npm version
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.

/rollup-plugin-simple-babel/

    Package Sidebar

    Install

    npm i rollup-plugin-simple-babel

    Weekly Downloads

    93

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    5.01 kB

    Total Files

    7

    Last publish

    Collaborators

    • vovkabelov