Skip to content

gobblejs/gobble-buble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gobble-buble

Compile ES6 files with Gobble and Bublé. Creates sourcemaps automatically.

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-buble

Usage

gobblefile.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.

License

MIT. Copyright 2016 Rich Harris

About

Compile ES2015 files with Gobble and Bublé

Resources

Stars

Watchers

Forks

Packages

No packages published