guoshilong
2023-09-23 fb336f319c71291fa09de3e7f67f1ccfab3cb7c8
1
2
3
4
5
6
7
8
9
// Environment variable definition
// https://cn.vitejs.dev/guide/env-and-mode.html#env-files
 
interface ImportMetaEnv {
  VITE_APP_ENVIRONMENT: 'DEV' | 'STAG' | 'UAT' | 'PROD',
  // api gateway
  VITE_APP_APIGATEWAY_BACKEND_HOST: string
  // More environment variables...
}