Gulp plugin to use uglifycss
Clone or download
Latest commit 511935c Jun 18, 2018

README.md

gulp-uglifycss

Gulp plugin to use UglifyCSS.

Build Status

Install

npm install --save gulp-uglifycss

Usage

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

gulp.task('css', function () {
  gulp.src('./styles/**/*.css')
    .pipe(uglifycss({
      "maxLineLen": 80,
      "uglyComments": true
    }))
    .pipe(gulp.dest('./dist/'));
});

Options

No specific options. You can use all the UglifyCSS options.