Carry the base-href placeholder the build requires

frontgen rejects a build whose index.html has no <!--BASE_HREF-->: relative
asset refs only resolve on a deep link once placement rewrites it, so
without the placeholder a deep link is a white screen. Verified against the
three assertions the builder makes — relative refs, the placeholder, and a
./config.js reference.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yashas 2026-09-10 16:58:26 +05:30
parent 6455579cc2
commit abac22baeb

View File

@ -4,6 +4,10 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<!-- viewport-fit=cover so the navy header can sit under an iPhone notch and <!-- viewport-fit=cover so the navy header can sit under an iPhone notch and
the action bar can clear the home indicator via env(safe-area-inset-*). --> the action bar can clear the home indicator via env(safe-area-inset-*). -->
<!-- Placement rewrites this to the mount path. Without it the build is
rejected: relative asset refs only resolve on a deep link once the
base href is right. -->
<!--BASE_HREF-->
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#0B2A5B" /> <meta name="theme-color" content="#0B2A5B" />
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />