[openstreetmap/openstreetmap-website] include iD as npm package (PR #6565)
Tom Hughes
notifications at github.com
Wed Nov 26 13:57:57 UTC 2025
@tomhughes commented on this pull request.
> @@ -22,7 +22,7 @@ document.addEventListener("DOMContentLoaded", function () {
const id = idContext
.embed(true)
- .assetPath("iD/")
+ .assetPath("@openstreetmap/id/dist/")
If the asset map isn't being built than that means that `AssetHelper#assets` is failing - it is looking for things in `Rails.application.assets_manifest.assets` whose key starts with the specified directory...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6565#discussion_r2565113650
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6565/review/3511095594 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251126/6602fe49/attachment.htm>
More information about the rails-dev
mailing list