fly-buble v0.2.0
Usage
Please see the example below. Keep in mind this is very new, and I haven't integrated source filenames into the source-mapping yet, but everything else should work.
All options map directly to what's available in the Javascript api, and are passed directly through to Bublé unmodified (for now).
Bublé is a very fast ES2015 compiler/transpiler, that aims for a subset of ES2015 that can be easily and quickly compiled to readable ES5, without munging your code or introducing unexpected performance decreases. It does not include a module system nor any ES5 shims, so you're going to want to provide those yourself if required (I recommend Rollup for the module handling, and es5-shim
is always a good choice). Check out Bublé's documentation for more
information.
Install
npm install -D fly-buble
Example
export default function* () {
yield this
.source('src/**/*.js')
.buble({
transforms: {
arrow: true,
modules: false,
dangerousForOf: true
}
})
.target('dist/')
}
License
MIT © Josh Girvin et al