diff --git a/gulpfile.js b/gulpfile.js index 7c97af7dd1..15b885aeb5 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -160,7 +160,7 @@ gulp.task('uglify', function () { // CSS minifying task gulp.task('cssmin', function () { return gulp.src(defaultAssets.client.css) - .pipe(plugins.cssmin()) + .pipe(plugins.csso()) .pipe(plugins.concat('application.min.css')) .pipe(gulp.dest('public/dist')); }); diff --git a/package.json b/package.json index 44e516c947..a98fd45c74 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "gulp-autoprefixer": "~3.1.0", "gulp-concat": "~2.6.0", "gulp-csslint": "~0.2.0", - "gulp-cssmin": "~0.1.7", + "gulp-csso": "~1.1.0", "gulp-eslint": "~2.0.0", "gulp-imagemin": "~2.4.0", "gulp-less": "~3.0.5",