mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-19 13:04:39 +08:00
Rather than using the module.json structure, use an URL with import.meta.url to resolve to the relative location for the images. Since this was the only usage of `substituteURL`, we can move the function into the model and have separate tests for it. R=jacktfranklin@chromium.org Fixed: 1247149 Change-Id: I734988d15474bf909f8d6d6aa24295eb394481d6 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3144068 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>