build: 替换vite废弃的选项brotliSizereportCompressedSize,移除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

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__),
},