From 875974b68fc67f6d9d6fc62b375318280d744d98 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Sun, 19 Oct 2014 12:05:46 +0200 Subject: [PATCH] moved to ng-annotate --- gulpfile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 967a8808..761d6e33 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() { return gulp.src(['app/index.html', 'app/badbrowser.html']) .pipe($.usemin({ html: [$.minifyHtml({empty: true})], - js: ['concat', $.ngmin(), $.uglify({outSourceMap: false})], + js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})], css: [$.minifyCss(), 'concat'] })) .pipe(gulp.dest('dist')); diff --git a/package.json b/package.json index 662e3226..24f083a5 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,6 @@ "event-stream": "^3.1.0", "gulp-zip": "^0.1.2", "gulp-manifest": "0.0.3", - "gulp-ngmin": "~0.1.2" + "gulp-ng-annotate": "~0.3.3" } }