Created
March 22, 2017 06:55
-
-
Save thomasJang/ced320b69017a3a529c5d857ac78a54b 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
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
gulp.task('concat', function(){ | |
gulp.src('src/js/*.js') | |
.pipe(concat('all.js')) | |
.pipe(gulp.dest('dist')); | |
}); | |
gulp.task('default', ['concat'], function(){ | |
gulp.watch('src/js/**/*.js', ['concat']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment