前端版本号从tag注入并提交本地配置

This commit is contained in:
root
2026-02-01 12:10:17 +00:00
parent 1f850593dd
commit 78aa86b23c
5 changed files with 27 additions and 2 deletions
+9
View File
@@ -1 +1,10 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_APP_VERSION?: string;
readonly VITE_GITHUB_REPO?: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}