tomhughes left a comment (openstreetmap/openstreetmap-website#6565)
The alternative to trying to edit the CSS is to put the iD images on the asset
search path by editing `config/initializers/assets.rb` to add this at the end:
```ruby
Rails.application.config.assets.paths <<
Rails.root.join("node_modules/@openstreetmap/id/dist")
```
Then sprockets will manage to find them from the paths in the iD CSS and
rewrite the URLs automatically.
It's a bit nasty because they're on the path for everything, but probably more
robust than trying to do non-syntax aware text replacement on the CSS data.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6565#issuecomment-3577148044
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6565/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev