Browse Source

chore(env) remove no need code

master
wangxiang 2 years ago
parent
commit
6efb49ba07
  1. 2
      build/utils.ts

2
build/utils.ts

@ -47,7 +47,7 @@ export function wrapperEnv(envConf: Recordable): ViteEnv { @@ -47,7 +47,7 @@ export function wrapperEnv(envConf: Recordable): ViteEnv {
}
// 返回读取配置并把值设置到node进程环境变量上
// ret[envName] = realName;
ret[envName] = realName;
// if (typeof realName === 'string') {
// process.env[envName] = realName;
// } else if (typeof realName === 'object') {

Loading…
Cancel
Save