build: 替换vite废弃的选项`brotliSize`为`reportCompressedSize`,移除v-i18n-next的fix warning (#2522)

This commit is contained in:
ZhangZhiChao 2023-02-10 07:41:36 +08:00 committed by GitHub
parent f7a1b02236
commit 8992ef472e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -79,13 +79,10 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
// },
// },
// Turning off brotliSize display can slightly reduce packaging time
brotliSize: false,
reportCompressedSize: false,
chunkSizeWarningLimit: 2000,
},
define: {
// setting vue-i18-next
// Suppress warning
__INTLIFY_PROD_DEVTOOLS__: false,
__APP_INFO__: JSON.stringify(__APP_INFO__),
},