From 9a448143ae0c2a91dc9777ead1709955ca69289e Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 24 Aug 2022 09:48:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20`window.process`=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=9C=A8`index.html`=E4=B8=AD=EF=BC=8C=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E4=BD=8E=E7=89=88=E6=9C=AC=E6=B5=8F=E8=A7=88=E5=99=A8=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 3 +++ vite.config.ts | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a3bed7e..015919e 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,9 @@ /> pure-admin-thin + diff --git a/vite.config.ts b/vite.config.ts index 538134d..5244c03 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -70,8 +70,6 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => { chunkSizeWarningLimit: 4000 }, define: { - "process.platform": null, - "process.version": null, __INTLIFY_PROD_DEVTOOLS__: false, __APP_INFO__: JSON.stringify(__APP_INFO__) }