xieb
2023-09-26 7e14da2dffa3405742ad0f66ad989f219d3fd9ec
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...
}