- Integrated build date, version, and commit hash generation in `vite.config.js`. - Enhanced `MobileNavigation.vue` to display build metadata and development mode info. - Added type definitions in `env.d.ts` for environment variables.
13 lines
319 B
TypeScript
13 lines
319 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_BUILD_DATE: string,
|
|
readonly VITE_APP_VERSION: string,
|
|
readonly VITE_GIT_COMMIT_HASH: string,
|
|
readonly VITE_IS_DEV: string,
|
|
}
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
declare const __APP_GIT_COMMIT__: string
|