From 10eae07f8322f592dcb5216a36ac4ce485e33994 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 17 Sep 2014 13:56:18 +0400 Subject: [PATCH] Disabled sourceMaps Closes #458 --- gulpfile.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index fb38d1ac..df99f2ae 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: ['concat', $.ngmin(), $.uglify({outSourceMap: true})], + js: ['concat', $.ngmin(), $.uglify(/*{outSourceMap: true}*/)], css: [$.minifyCss(), 'concat'] })) .pipe(gulp.dest('dist')); diff --git a/package.json b/package.json index 6d3c1ac2..8d0eaa17 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "gulp": "~3.5.5", "gulp-angular-templatecache": "^1.1.0", "gulp-load-plugins": "^0.4.0", - "gulp-usemin": "^0.3.3", - "gulp-uglify": "^0.2.1", - "gulp-rev": "^0.3.0", + "gulp-usemin": "^0.3.8", + "gulp-uglify": "^1.0.1", + "gulp-rev": "^1.1.0", "gulp-minify-css": "^0.3.0", "gulp-minify-html": "^0.1.1", "gulp-imagemin": "^0.1.5",