Minifies files with CleanCSS
JavaScript
Permalink
Failed to load latest commit information.
lib init Apr 29, 2014
test init Apr 29, 2014
.gitignore init Apr 29, 2014
.jshintrc init Apr 29, 2014
.npmignore init Apr 29, 2014
.travis.yml Update .travis.yml Apr 30, 2014
README.md Move deprecated header to top Nov 21, 2014
index.js Update index.js Apr 30, 2014
package.json bumped version to 1.0.2 (includes the deprecated README) May 8, 2014

README.md

DEPRECATED

This package is marked as deprecated. Please use jonathanepollack/gulp-minify-css instead.

gulp-clean-css

Minify files with CleanCSS

Installation

npm install --save-dev gulp-clean-css

Usage

var minify = require('gulp-clean-css');

gulp.task('compress', function() {
  return gulp.src('assets/stylesheets/*.css')
    .pipe(minify())
    .pipe(gulp.dest('dist'))
});

Credits

This package is heavily inspired (actually it's a clone..) by terinjokes/gulp-uglify.

Also take a look at jonathanepollack/gulp-minify-css. The only reason I made this clone is the fact that Node was throwing some low-level errors..