feat(web): add cache busting with version-based asset loading

- Inject git hash via Vite plugin for cache-busting WASM/JS assets
- Enable Emscripten assertions for better runtime error messages
- Log Emscripten runtime init for debugging filesystem readiness
- Expand dockerignore to exclude web build artifacts
This commit is contained in:
2025-12-29 14:27:52 -06:00
parent 3bb3908853
commit 8d3d69da9d
6 changed files with 84 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_PACMAN_VERSION: string;
readonly VITE_API_URL: string;
readonly VITE_API_TARGET: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}