qwish
A Node based CSS Compressor. This is sqwish without strict mode.
;// => "body{color:#f3c}"
CLI
Install it.
$ npm install -g qwish
Use it like this:
$ qwish app.css # default output is <file>.min.css therefore app.css => app.min.css
$ # or...
$ qwish css/styles.css -o prod/something-else.min.css
Notes
Qwish does not attempt to fix invalid CSS, therefore, at minimum, your CSS should at least follow the basic rules:
Developers
Be sure you have the proper testing harness set up ahead of time by installing the sink-test
submodule
$ npm install
Tests can be added in tests/tests.js
, and then run as such:
$ npm test
License
MIT License