gulp-sweetjs

0.6.1 • Public • Published

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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gulp-sweetjs

    Weekly Downloads

    2

    Version

    0.6.1

    License

    none

    Last publish

    Collaborators

    • jlongster