Fix: robust version hash injection in build process

Replaced the fragile regex-based version injection in `scripts/build-dist.mjs` with a robust placeholder method.

- Added `<!-- VERSION_INFO -->` placeholder to `index.html`.
- Updated `scripts/build-dist.mjs` to target the placeholder, while retaining regex fallback for safety.
- Ensures version info is reliably injected during local builds regardless of code formatting.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-10 21:05:37 +00:00
1 parent 93d9bb7585
commit 53c0e9e8f4
4 files changed
+33 -20

No files matched your search

+1
View File
@@ -359,6 +359,7 @@
<h2 class="text-2xl font-bold tracking-wide text-muted-strong">
seed. zap. subscribe.
</h2>
<!-- VERSION_INFO -->
</div>
<!-- Mobile Search FAB -->