gulp-cssmin
minify css using gulp
Last updated 3 years ago by chilijung .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (3 years ago)

9 Versions

  • 0.2.0                                ...           3 years ago
  • 0.1.7                                ...           5 years ago
  • 0.1.6                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 129
This Week 129
This Month 1,818
Last Day 136
Last Week 2,704
Last Month 11,051
Dependencies (7)
Dev Dependencies (1)
Dependents (256)

Copyright 2014 - 2016 © taobao.org |