Minify CSS with CSSO.

npm install gulp-csso
87 downloads in the last day
895 downloads in the last week
3 000 downloads in the last month

gulp-csso Build Status NPM version Dependency Status

Minify CSS with CSSO.

If you have any difficulties with the output of this plugin, please use the CSSO tracker.


Install via npm:

npm install gulp-csso --save-dev


var gulp = require('gulp');
var csso = require('gulp-csso');

gulp.task('default', function() {
    return gulp.src('./main.css')


csso(false) or csso()

The default is to use structure minimization for maximum compression. See the CSSO description for more information.


Pass true instead if you want to disable this feature.

npm loves you