0.2.4 • Published 9 years ago
gulp-jsdc v0.2.4
gulp-jsdc
compiler es6 to es5 by jsdc
https://github.com/army8735/jsdc
Usage
var gJsdc = require('gulp-jsdc');
gulp.task('jsdc', function() {
gulp.src('**/*.js')
.pipe(gJsdc())
.pipe(gulp.dest('dist'))
});
Options
var gJsdc = require('gulp-jsdc');
gulp.task('jsdc', function() {
gulp.src('**/*.js')
.pipe(gJsdc({
define: true
}))
.pipe(gulp.dest('dist'))
});
It will wrap
define
for CommonJS module when configdefine: true