diff --git a/gulpfile.js b/gulpfile.js index f1a9cde628..73fe7bd662 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -177,7 +177,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 62167bb6eb..c95097681f 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,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-jshint": "~2.0.0",