From b661284f59eab392624940427d7c5189a4180410 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Sun, 6 Mar 2016 20:33:28 +0200 Subject: [PATCH] fix(gulp): replacing gulp-cssmin which has been deprecated and un-maintained with gulp-csso --- gulpfile.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",