moved to ng-annotate

This commit is contained in:
Igor Zhukov 2014-10-19 12:05:46 +02:00
parent 607639a6a8
commit 875974b68f
2 changed files with 2 additions and 2 deletions

View File

@ -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'));

View File

@ -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"
}
}