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