var gulp = require('gulp'); var babel = require('gulp-babel'); gulp.task('bundle', bundle); function bundle () { gulp.src('./src/*.js') .pipe(babel()) .pipe(gulp.dest('./dist')); } gulp.task('build', ['bundle']);
info at jsclasses dot org