From ca997c15ca4ed94e9dacf58081503b1e61b0e001 Mon Sep 17 00:00:00 2001 From: jinmao88 <50581550+jinmao88@users.noreply.github.com> Date: Sat, 17 Jun 2023 08:45:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=BB=98=E8=AE=A4=E4=B8=8D=E6=B8=85?= =?UTF-8?q?=E9=99=A4ts=E5=86=85console.log()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/vite-config/src/config/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/vite-config/src/config/common.ts b/internal/vite-config/src/config/common.ts index 8a56c897..3f18836a 100644 --- a/internal/vite-config/src/config/common.ts +++ b/internal/vite-config/src/config/common.ts @@ -7,7 +7,7 @@ const commonConfig: UserConfig = { host: true, }, esbuild: { - drop: ['console', 'debugger'], + drop: ['debugger'], }, build: { reportCompressedSize: false,