From 376c1173ffd31210111c191704b3eee1380e98d1 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 8 Apr 2014 13:28:18 +0200 Subject: [PATCH] Added source map while uglifying --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));