2023-03-18 13:10:54 +00:00
|
|
|
/**
|
|
|
|
* Get the configuration file variable name
|
|
|
|
* @param env
|
|
|
|
*/
|
2023-07-29 10:46:43 +00:00
|
|
|
export function getConfigFileName(env: Record<string, any>) {
|
2023-03-18 13:10:54 +00:00
|
|
|
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`.toUpperCase().replace(/\s/g, '')
|
|
|
|
}
|