Compile ES6 files with gobble and Bublé
Compile ES6 files with Gobble and Bublé. Creates sourcemaps automatically.
First, you need to have gobble installed - see the gobble readme for details. Then,
``bash`
npm i -D gobble-buble
gobblefile.js
`js`
var gobble = require( 'gobble' );
module.exports = gobble( 'src' ).transform( 'buble', options );
The options argument, if specified, is passed to Bublé - consult the documentation. Sourcemaps are created by default (all the relevant information is filled in by Gobble, you don't need to specify sourceMapName options etc) - if you don't want that, pass sourceMap: false`.
MIT. Copyright 2016 Rich Harris