Created
April 9, 2016 21:38
-
-
Save vicatcu/87a82a5f9fc3ba7b1b79d1d0d0007f14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task("babel-routes", function () { | |
return gulp.src("routes/*.es6") | |
.pipe(babel()) | |
.pipe(gulp.dest("routes/")); | |
}); | |
gulp.task("babel-public-javascripts", function () { | |
return gulp.src("public/javascripts/**/*.es6") | |
.pipe(babel()) | |
.pipe(gulp.dest("public/javascripts/")); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment