1.1.0 • Published 8 years ago
@taskr/buble v1.1.0
@taskr/buble 
Install
$ npm install --save-dev @taskr/bubleUsage
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