Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit b661284

Browse files
committed
fix(gulp): replacing gulp-cssmin which has been deprecated and un-maintained with gulp-csso
1 parent 065e01c commit b661284

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ gulp.task('uglify', function () {
177177
// CSS minifying task
178178
gulp.task('cssmin', function () {
179179
return gulp.src(defaultAssets.client.css)
180-
.pipe(plugins.cssmin())
180+
.pipe(plugins.csso())
181181
.pipe(plugins.concat('application.min.css'))
182182
.pipe(gulp.dest('public/dist'));
183183
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"gulp-autoprefixer": "~3.1.0",
9292
"gulp-concat": "~2.6.0",
9393
"gulp-csslint": "~0.2.0",
94-
"gulp-cssmin": "~0.1.7",
94+
"gulp-csso": "~1.1.0",
9595
"gulp-eslint": "~2.0.0",
9696
"gulp-imagemin": "~2.4.0",
9797
"gulp-jshint": "~2.0.0",

0 commit comments

Comments
 (0)