A very light minifier Node.js module.
sqwish
is a plugin for node-minify
It allow you to compress CSS files.
npm install @node-minify/core @node-minify/sqwish
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) {}
});
Visit https://node-minify.2clics.net/compressors/sqwish.html for full documentation