Created
February 25, 2017 07:02
-
-
Save Rafi993/8f43b0aecc109556bffdbfac9108bd99 to your computer and use it in GitHub Desktop.
This file contains 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
const T = require(‘./task’), | |
gulp = require(‘gulp’); | |
// The transpiling Task | |
gulp.task(‘transpile’, ()=> | |
gulp.src([‘./app.js’]) | |
.pipe(T.transpiler) | |
.pipe(gulp.dest(‘./dist’))); | |
// styling Task | |
gulp.task(‘style’, ()=> | |
gulp.src([‘./scss/**/*.scss’]) | |
.pipe(T.styler) | |
.pipe(gulp.dest(‘./dist’))); | |
// Default Task | |
gulp.task(‘default’, ['transpile', 'style']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment