rollup-plugin-buble
Convert ES2015 with buble.
Installation
npm install --save-dev rollup-plugin-buble
Usage
import { rollup } from 'rollup';
import buble from 'rollup-plugin-buble';
rollup({
entry: 'main.js',
plugins: [ buble() ]
}).then(...)
Options
include
: a micromatch pattern, or array of patterns, specifying files to includeexclude
: a micromatch pattern, or array of patterns, specifying files to excludetransforms
: an object of transform options, per the Buble docs
License
MIT