From de4eaddffd7d826f6b5d1cab05627bcae0183b0f Mon Sep 17 00:00:00 2001 From: Vinton <45648362+vintonHuang@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:42:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8Abuild/util=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E7=9A=84=E4=BB=A3=E7=A0=81,=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=83=AD=E6=9B=B4=E6=96=B0=E6=97=A0=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#2551)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: huangwentao --- build/utils.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/utils.ts b/build/utils.ts index c201514f9..68adde79d 100644 --- a/build/utils.ts +++ b/build/utils.ts @@ -36,11 +36,11 @@ export function wrapperEnv(envConf: Recordable): ViteEnv { } } ret[envName] = realName; - if (typeof realName === 'string') { - process.env[envName] = realName; - } else if (typeof realName === 'object') { - process.env[envName] = JSON.stringify(realName); - } + // if (typeof realName === 'string') { + // process.env[envName] = realName; + // } else if (typeof realName === 'object') { + // process.env[envName] = JSON.stringify(realName); + // } } return ret; }