Fixed css minify

This commit is contained in:
Igor Zhukov 2015-01-19 13:31:39 +03:00
parent d8407012d6
commit d7c61078c1
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() {
.pipe($.usemin({
html: [$.minifyHtml({empty: true})],
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
css: [$.minifyCss(), 'concat']
css: [$.minifyCss({compatibility: true, keepBreaks: true}), 'concat']
}))
.pipe(gulp.dest('dist'));
});

View File

@ -51,13 +51,13 @@
"gulp-livereload": "^3.0.2",
"gulp-load-plugins": "^0.4.0",
"gulp-manifest": "0.0.3",
"gulp-minify-css": "^0.3.0",
"gulp-minify-css": "^0.3.12",
"gulp-minify-html": "^0.1.1",
"gulp-ng-annotate": "~0.3.3",
"gulp-replace": "^0.2.0",
"gulp-rev": "^1.1.0",
"gulp-uglify": "^1.0.2",
"gulp-usemin": "^0.3.8",
"gulp-usemin": "^0.3.11",
"gulp-zip": "^0.1.2",
"http": "0.0.0",
"st": "^0.5.2"