getConfigFileName.ts 244 B

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