Skip to content

Instantly share code, notes, and snippets.

@markgoodyear
Created October 11, 2014 09:54
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save markgoodyear/00cbb4c775a18bf3b11f to your computer and use it in GitHub Desktop.
Concat all modules first in Angular
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