css minification
via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 18 09:41:14 PST 2015
On Saturday, 17 January 2015 at 18:00:01 UTC, Andrei Alexandrescu
wrote:
> Would be a nice tools/ thing. Wanna do it/ --- Andrei
First try:
https://github.com/schuetzm/shrinkcss/blob/master/shrinkcss.d
Reads from stdin, writes to stdout. Removes comments, superfluous
whitespace, and the closing ";" before "}".
WARNING: This is mostly untested, the lexer is probably missing a
few corner cases.
More information about the Digitalmars-d
mailing list