Mash css files and change relative paths

391 Views Asked by At

Until recently I was using Chirpy VS plugin for mashing css files. But I have found it doesn't change css url relative paths during mashing and it is a problem for me now (as I mash css files which access local images but are placed in different directories).

Is there any tool which mashes css files and changes urls relative paths accordingly?

2

There are 2 best solutions below

0
SiberianGuy On BEST ANSWER

I have found this workitem which proves there is a bug in Chirpy.

Also it looks like CrusherModule will solve my problem.

Update. Finally I used CrushIt

0
Timothy Strimple On

You should check into the Yahoo tool for JS / CSS compression. There is a codeplex project which has Visual Studio post build support. I have tested it explicitly for the scenario you're asking about (relative paths) but it's worth exploring.

YUI Compressor for .NET