I’ve recently been using Compass with Sass to do some CSS spriting, as it’s extremely useful.
However, the filename is always appended with a random string. E.g. icons-s5eb424578c.png. And I don’t want this random string to be appended, because it means I’m required to upload both the new CSS file & the new sprite image every time there’s a change.
So, does anyone know which Ruby or other config file within the Compass gem directory, that is appending this random string? Then I can just comment the code out for that bit. Unless I’m missing an official variable I can set within Compass to tell it I don’t want this string appended?
Thanks in advance for any help on this.
in your project config file enter something like this
credits goes here How to remove the hash from Compass's generated sprite image filenames?