Skip to content

Instantly share code, notes, and snippets.

@markgoodyear markgoodyear/task.js
Created Oct 11, 2014

Embed
What would you like to do?
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
You can’t perform that action at this time.