/gulp-uglifycss

Gulp plugin to use uglifycss

Primary LanguageJavaScriptMIT LicenseMIT

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.