@evs-chris/gobble-buble

0.15.0 • Public • Published

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

/@evs-chris/gobble-buble/

    Package Sidebar

    Install

    npm i @evs-chris/gobble-buble

    Weekly Downloads

    1

    Version

    0.15.0

    License

    MIT

    Last publish

    Collaborators

    • evs-chris