feat: 添加应用版本管理功能;生成 version.json 文件并更新环境变量配置
This commit is contained in:
3
types/env.d.ts
vendored
3
types/env.d.ts
vendored
@@ -12,9 +12,10 @@ interface ImportMetaEnv {
|
||||
readonly VITE_API_URL: string;
|
||||
readonly VITE_TRADINGVIEW_LIBRARY_URL: string;
|
||||
readonly VITE_TRADINGVIEW_DATA_API_URL: string;
|
||||
readonly VITE_APP_VERSION: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
|
||||
declare const __APP_VERSION__: string;
|
||||
|
||||
Reference in New Issue
Block a user