Jay Salvat cae9a07951 Clean repo for V2 il y a 10 ans
..
node_modules cae9a07951 Clean repo for V2 il y a 10 ans
sample cae9a07951 Clean repo for V2 il y a 10 ans
.npmignore cae9a07951 Clean repo for V2 il y a 10 ans
.travis.yml cae9a07951 Clean repo for V2 il y a 10 ans
README.md cae9a07951 Clean repo for V2 il y a 10 ans
gulpfile.js cae9a07951 Clean repo for V2 il y a 10 ans
index.js cae9a07951 Clean repo for V2 il y a 10 ans
package.json cae9a07951 Clean repo for V2 il y a 10 ans
test.js cae9a07951 Clean repo for V2 il y a 10 ans

README.md

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');

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