@node-minify/cssnano

cssnano plugin for @node-minify

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@node-minify/cssnano
45307.0.02 months ago4 years agoMinified + gzip package size for @node-minify/cssnano in KB

Readme

node-minify


A very light minifier Node.js module.



Build Status

cssnano
cssnano is a plugin for node-minify
It allow you to compress CSS files.

Installation

npm install @node-minify/core @node-minify/cssnano

Usage

const minify = require('@node-minify/core');
const cssnano = require('@node-minify/cssnano');

minify({
  compressor: cssnano,
  input: 'foo.js',
  output: 'bar.js',
  callback: function(err, min) {}
});

Documentation

Visit https://node-minify.2clics.net/compressors/cssnano.html for full documentation

License

MIT