仪表盘
版本库
文件存储
活动
搜索
登录
main
/
herb-ui
干燥机配套车间生产管理系统/云平台前端
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
初始提交
baoshiwei
2023-03-10
1fb197352b6a263646e4ccd3ed1c7854ede031dd
[herb-ui.git]
/
build
/
getConfigFileName.ts
1
2
3
4
5
6
7
/**
* Get the configuration file variable name
* @param env
*/
export const getConfigFileName = (env: Record<string, any>) => {
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`.toUpperCase().replace(/\s/g, '');
};