diff --git a/index.html b/index.html index 5eb1ccd46..c9e6cb00d 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,9 @@ /> vue-pure-admin + diff --git a/vite.config.ts b/vite.config.ts index 538134de5..5244c03ae 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__) }