diff --git a/gulpfile.js b/gulpfile.js index 9e36bd92..6ca53d5a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() { return gulp.src('app/index.html') .pipe($.usemin({ html: [$.minifyHtml({empty: true})], - js: [$.ngmin(), $.uglify(), 'concat'], + js: ['concat', $.ngmin(), $.uglify({outSourceMap: true})], css: [$.minifyCss(), 'concat'] })) .pipe(gulp.dest('dist'));