lukeed

@taskr/buble

Bublé plugin for Taskr.

#Install

$ npm install --save-dev @taskr/buble

#Usage

exports.scripts = function * (task) {
  yield task.source('test/**/*.js').buble({
    inline: true,
    transforms: {
      arrow: true,
      modules: false,
      dangerousForOf: true
    }
  }).target('dist/js');
}

#API

#.buble(options)

To view all Bublé options, visit its documentation.

This plugin includes two additional options:

#options.inline

Type: Boolean
Default: false
If true, will append an internal sourcemap (data URI) to the file's contents instead of an external link (default). Also will not create a new *.js.map file. Requires that options.sourceMap to remain true.

#options.sourceMap

Type: Boolean
Default: true
Creates an external sourcemap by default. Disable all mapping behavior by setting this to false.

#Support

Any issues or questions can be sent to the Taskr monorepo.

Please be sure to specify that you are using @taskr/buble.

#License

MIT © Luke Edwards

See also

taskr(3), clsx(3), @polka/cluster(3), @pwa/cli(3), uvu(3), sockette(3), klona(3), kleur(3), dequal(3), sirv-cli(3)