fix: 前端打包时增加git hash 信息

This commit is contained in:
Gsh
2026-01-18 23:45:48 +08:00
parent 8b183e289c
commit b0d1820919
3 changed files with 24 additions and 0 deletions

View File

@@ -1 +1,12 @@
declare module "virtual:svg-icons-register";
// Git 构建信息
declare const __GIT_HASH__: string;
declare const __GIT_BRANCH__: string;
declare const __GIT_DATE__: string;
declare const __BUILD_TIME__: string;
// 全局加载器方法
interface Window {
__hideAppLoader?: () => void;
}