gulp-es6-module-jstransform

Transpile ES6 modules to CommonJS with es6-module-jstransform.

gulp-es6-module-jstransform

Transpile ES6 modules to CommonJS with es6-module-jstransform.

$ npm install --save-dev gulp-es6-module-jstransform
var gulp = require('gulp'),
    transform = require('gulp-es6-module-jstransform');
 
gulp.task('default', function () {
  return gulp.src(['src/**/*.js'])
    .pipe(transform())
    .pipe(gulp.dest('build'));
});

Copyright (c) 2014 Michael Mayer

Licensed under the MIT license.