0.2.0 • Published 8 years ago

fly-buble v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Bublé plugin for Fly.

npm package

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

0.2.0

8 years ago

0.1.0

9 years ago