From d7c61078c19ab2dc90fb03fa30acfefd4593f554 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 19 Jan 2015 13:31:39 +0300 Subject: [PATCH] Fixed css minify --- gulpfile.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 62ddb216..9d174b5c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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')); }); diff --git a/package.json b/package.json index 5a171cf4..2418a7c9 100644 --- a/package.json +++ b/package.json @@ -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"