Anyone have a recommendation for a tool (Perl script would be ideal) to
do the following:
- Take a CSS file and merge any @import statements.
- Whitespace compress and comment-strip the CSS
- Be reliable! i.e. it should take substantial commercial-scale CSS
files and process them reliably, without introducing further sources of
error.
Ideally it would also do the following:
- Have some means (embedded flag or whatever) to leave a single
version-control comment at the head.
- Either understand, or be controllable by embedded flags so as to not
disturb things like the Tantek Celik hack.
I suspect I'm going to have to write it, but it would be nice to find a
pointer to a pre-existing one. Thanks for any suggestions.