I have many vendor images in the Vendor folder referenced by the vendor's css files.
I use Heroku and S3 for production, and a thing like background-image: url("../images/sprite.png"); works in development, but not in production, as the image url points to the S3 url.
It is not precompiled, so Iām not sure whether I should include this as part of the precompilation of assets, but I would like to avoid this, because I need to manually copy all the image files to the assets/images folder, and also change the link in the css files by changing it on scss as well as asset_url (which seems to work fine)
Is there any way not to link to S3-url only from css files of the provider
I also use asset_sync gem to upload to S3
source share