gulp-sweetjs
v0.6.1
Published
gulp loader for sweetjs
Downloads
187
Readme
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.