moved to ng-annotate
This commit is contained in:
parent
607639a6a8
commit
875974b68f
@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() {
|
|||||||
return gulp.src(['app/index.html', 'app/badbrowser.html'])
|
return gulp.src(['app/index.html', 'app/badbrowser.html'])
|
||||||
.pipe($.usemin({
|
.pipe($.usemin({
|
||||||
html: [$.minifyHtml({empty: true})],
|
html: [$.minifyHtml({empty: true})],
|
||||||
js: ['concat', $.ngmin(), $.uglify({outSourceMap: false})],
|
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
|
||||||
css: [$.minifyCss(), 'concat']
|
css: [$.minifyCss(), 'concat']
|
||||||
}))
|
}))
|
||||||
.pipe(gulp.dest('dist'));
|
.pipe(gulp.dest('dist'));
|
||||||
|
@ -49,6 +49,6 @@
|
|||||||
"event-stream": "^3.1.0",
|
"event-stream": "^3.1.0",
|
||||||
"gulp-zip": "^0.1.2",
|
"gulp-zip": "^0.1.2",
|
||||||
"gulp-manifest": "0.0.3",
|
"gulp-manifest": "0.0.3",
|
||||||
"gulp-ngmin": "~0.1.2"
|
"gulp-ng-annotate": "~0.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user