gulp-sweetjs

gulp loader for sweetjs

gulp-sweetjs

This lets you integrate sweet.js with gulp.

Example (also uses gulp-sourcemaps):

gulp.task("build", function() {
  gulp.src("src/**/*.js")
    .pipe(sourcemaps.init())
    .pipe(sweetjs({
      modules: ['es6-macros'],
      readtables: ['reader-module']
    }))
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest('build'));
})

This project is licensed under the BSD License. See the LICENSE file for more information.