gulp-cssmin
minify css using gulp
Last updated 7 years ago by chilijung .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install gulp-cssmin 
SYNC missed versions from official npm registry.

gulp-cssmin

Duplicate of gulp-minify-css

Build Status

minify css using gulp.

Install

Install with npm

npm install --save-dev gulp-cssmin

Example

var gulp = require('gulp');
var cssmin = require('gulp-cssmin');
var rename = require('gulp-rename');

gulp.task('default', function () {
	gulp.src('src/**/*.css')
		.pipe(cssmin())
		.pipe(rename({suffix: '.min'}))
		.pipe(gulp.dest('dist'));
});

API

cssmin(options)

See the css-min options.

Other options

  • Show loging

showLog : (True, false) to trun on or off of the log

Inspired by

License

MIT @chilijung

Current Tags

  • 0.2.0                                ...           latest (7 years ago)

9 Versions

  • 0.2.0                                ...           7 years ago
  • 0.1.7                                ...           10 years ago
  • 0.1.6                                ...           10 years ago
  • 0.1.5                                ...           11 years ago
  • 0.1.4                                ...           11 years ago
  • 0.1.3                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (1)
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE