Created
November 5, 2014 14:24
-
-
Save thomastuts/0c6b67429c0669afc8c2 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('bundle:source', function () { | |
return es.merge( | |
gulp.src('src/scripts/**/*.html') | |
.pipe(templateCache({ | |
module: 'myModule', | |
root: 'scripts' | |
})), | |
gulp.src([ | |
'src/scripts/app.js', | |
'src/scripts/**/*.js' | |
]) | |
) | |
.pipe(concat('bundle.js')) | |
.pipe(gulp.dest('dist/scripts')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment