mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-14 22:30:31 +08:00
chore: window.process定义在index.html中,防止低版本浏览器报错
This commit is contained in:
@@ -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__)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user