gulp-esperanto

0.2.0 • Public • Published

gulp-esperanto Build Status

Gulp plugin to transpile ES6 module syntax with esperanto

Issues with output should be reported to the esperanto issue tracker.

Install

$ npm install --save-dev gulp-esperanto

Usage

var gulp = require('gulp');
var esperanto = require('gulp-esperanto');
 
gulp.task('default', function () {
    return gulp.src('src/app.js')
        .pipe(esperanto())
        .pipe(gulp.dest('dist'));
});

Usage

esperanto(config)

config.type

Can be one of 'amd' or 'cjs' (CommonJS) to set the desired format of the output

config.defaultOnly

config.defaultOnly is passed straight through to esperanto.

License

MIT © Sean Dunn

Package Sidebar

Install

npm i gulp-esperanto

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • attamusc