Nagging Mario's Princess
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gulp-cssmin

0.2.0 • Public • Published

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

install

npm i gulp-cssmin

Downloadsweekly downloads

22,401

version

0.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability