提交 | 用户 | age | ||
2f1fbf | 1 | /** |
V | 2 | * Get the configuration file variable name |
3 | * @param env | |
4 | */ | |
8a9ca4 | 5 | export const getConfigFileName = (env: Record<string, any>) => { |
bb3b8f | 6 | return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__` |
N | 7 | .toUpperCase() |
8 | .replace(/\s/g, ''); | |
9 | }; |