Skip to content

Commit

Permalink
Gulpfile: Concat/minify user scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Jan 6, 2015
1 parent 13458ed commit dce121b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -109,7 +109,7 @@ gulp.task('styles', function() {

// Concatenate And Minify JavaScript
gulp.task('scripts', function() {
return gulp.src('app/styleguide/**/*.js')
return gulp.src(['app/scripts/**/*.js', 'app/styleguide/**/*.js'])
.pipe($.concat('main.min.js'))
.pipe($.uglify({preserveComments: 'some'}))
// Output Files
Expand Down

0 comments on commit dce121b

Please sign in to comment.