From: glenn Date: 2007-02-16T21:20:07+09:00 Subject: Re: compress CSS > Does anyone know of any script that can be used to compress css for > deployment. Im looking for something that can be used during the build > process rather than something you click to acheive it. Were currently > using jsmin for javascript, something like that for css would be ideal. > > cheers, I've been working on a completely unrelated project but with code that I could fairly quickly customise to meet this requirement. I'll try to knock it up over the weekend. Simply require whatever the plugin/gem is and call stylesheet_include_tag as per normal and it would automatically process at run-time. Need to consider how to do the cleanup after a file changes though. Glenn