0.2.0 • Published 9 years ago

gulp-esperanto v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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