htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
..
node_modules 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
sample 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
.npmignore 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
.travis.yml 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
gulpfile.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa
test.js 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 mesi fa

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