From a831ea2bb31014b7a859090384a5eee55cc4a69e Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 27 Jun 2023 17:45:15 +0800 Subject: [PATCH] chore: update --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 8a7a3364f..c12aebdd2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -52,6 +52,7 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => { exclude }, build: { + assetsInlineLimit: 0, sourcemap: false, // 消除打包大小超过500kb警告 chunkSizeWarningLimit: 4000,