JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 35434
  • Score
    100M100P100Q146893F
  • License MIT

minify css using gulp

Package Exports

  • gulp-cssmin

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-cssmin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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