Gulp plugin to use UglifyCSS.
npm install --save gulp-uglifycss
var uglifycss = require('gulp-uglifycss');
gulp.task('css', function () {
gulp.src('./styles/**/*.css')
.pipe(uglifycss({
"maxLineLen": 80,
"uglyComments": true
}))
.pipe(gulp.dest('./dist/'));
});
No specific options. You can use all the UglifyCSS options.