feat: add Vite config and TypeScript settings for web build
This commit is contained in:
14
vite-env.d.ts
vendored
Normal file
14
vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
declare const __APP_VERSION__: string;
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_PUBLIC_URL: string;
|
||||
readonly VITE_AD_ADAPTER: string;
|
||||
readonly VITE_GA_MEASUREMENT_ID: string;
|
||||
readonly VITE_ENABLE_PUSH: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
Reference in New Issue
Block a user