perf: build

This commit is contained in:
xiaoxian521
2022-04-25 18:06:22 +08:00
parent d192d842ed
commit 0b8e402375
4 changed files with 45 additions and 93 deletions

View File

@@ -85,7 +85,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
sourcemap: false,
brotliSize: false,
// 消除打包大小超过500kb警告
chunkSizeWarningLimit: 2000
chunkSizeWarningLimit: 4000
},
define: {
__INTLIFY_PROD_DEVTOOLS__: false,