A very light minifier Node.js module.
sqwish
sqwish
is a plugin for node-minify
It allow you to compress CSS files.
Installation
npm install @node-minify/core @node-minify/sqwish
Usage
const minify = require('@node-minify/core');
const sqwish = require('@node-minify/sqwish');
minify({
compressor: sqwish,
input: 'foo.css',
output: 'bar.css',
callback: function (err, min) {}
});
Documentation
Visit https://node-minify.2clics.net/compressors/sqwish.html for full documentation