getConfigFileName.ts 239 B

12345678
  1. /**
  2. * Get the configuration file variable name
  3. * @param env
  4. */
  5. export function getConfigFileName(env: Record<string, any>) {
  6. return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`.toUpperCase().replace(/\s/g, '')
  7. }