From 8992ef472eced813a656a6af8a0b5c9d84cc5979 Mon Sep 17 00:00:00 2001 From: ZhangZhiChao <54631354+Alkaidcc@users.noreply.github.com> Date: Fri, 10 Feb 2023 07:41:36 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=BF=E6=8D=A2vite=E5=BA=9F?= =?UTF-8?q?=E5=BC=83=E7=9A=84=E9=80=89=E9=A1=B9`brotliSize`=E4=B8=BA`repor?= =?UTF-8?q?tCompressedSize`,=E7=A7=BB=E9=99=A4v-i18n-next=E7=9A=84fix=20wa?= =?UTF-8?q?rning=20(#2522)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 8f5f4446..b157f5d3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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__), },