6.0.0 • Published 8 years ago

gobble-babel v6.0.0

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

gobble-babel

Compile ES6 files with gobble and babel. Creates sourcemaps automatically.

Installation

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

npm i -D gobble-babel babel-preset-es2015

Usage

gobblefile.js

var gobble = require( 'gobble' );
module.exports = gobble( 'src' ).transform( 'babel', options );

The options argument, if specified, is passed to babel - 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 2014 Rich Harris

6.0.0

8 years ago

5.5.8

9 years ago

5.1.0

9 years ago

5.0.0

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago