Created
October 11, 2014 09:54
-
-
Save markgoodyear/00cbb4c775a18bf3b11f to your computer and use it in GitHub Desktop.
Concat all modules first in Angular
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 paths = { | |
src: [ | |
'src/scripts/app/**/*module*.js', | |
'src/scripts/app/**/*.js' | |
], | |
dest: 'app/assets/scripts' | |
}; | |
gulp.task('scripts', function () { | |
return gulp.src(paths.src) | |
.pipe(concat('app.js')) | |
.pipe(gulp.dest(paths.dest)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment