I have a lot of vendor images under Vendor folder referenced from vendor css files.
I am using Heroku and S3 for production and thing like background-image: url("../images/sprite.png");
is working in development but not in production as the image url points to S3 url.
It is not being precompiled either so not sure whether I should include this as part of precompilation of assets but I would like to stay away from this as I need to manually copy all image files across to assets/images
folder and also change the reference in the css
files by changing it to scss
and also asset_url
(which seems to be working fine)
Is there a way to not reference S3 url from vendor css files only
I'm also using asset_sync
gem for uploading to S3