guoshilong
2023-09-13 69e3cb46442343d1522cf1fc149283207c34c80b
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...
}