1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/gulp-cssmin
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
node_modules 删除无关模块 2024-01-16 21:26:16 +08:00
sample i4 2023-12-18 13:12:25 +08:00
.npmignore i4 2023-12-18 13:12:25 +08:00
.travis.yml i4 2023-12-18 13:12:25 +08:00
README.md i4 2023-12-18 13:12:25 +08:00
gulpfile.js i4 2023-12-18 13:12:25 +08:00
index.js i4 2023-12-18 13:12:25 +08:00
package.json 删除无关模块 2024-01-16 21:26:16 +08:00
test.js i4 2023-12-18 13:12:25 +08:00

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