|
|
@ -29,7 +29,7 @@ gulp.task('usemin-index', function () { |
|
|
|
return gulp.src('app/index.html') |
|
|
|
return gulp.src('app/index.html') |
|
|
|
.pipe($.usemin({ |
|
|
|
.pipe($.usemin({ |
|
|
|
html: [$.minifyHtml({empty: true})], |
|
|
|
html: [$.minifyHtml({empty: true})], |
|
|
|
js: ['concat', $.ngAnnotate()/*, $.uglify({outSourceMap: false})*/], |
|
|
|
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})], |
|
|
|
css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})] |
|
|
|
css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})] |
|
|
|
})) |
|
|
|
})) |
|
|
|
.pipe(gulp.dest('dist')) |
|
|
|
.pipe(gulp.dest('dist')) |
|
|
|