mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
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:
1 parent
93d9bb7585
commit
53c0e9e8f4
4 files changed
+33
-20
No files matched your search
@@ -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 -->
|
||||
|
||||
Reference in new issue
Block a user