From 8922395fdcfa0be92f9765a8760d0912aecad539 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:47:35 +0800 Subject: [PATCH] fix: Fix the issue of frontend packaging errors (#7661) --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 10a1dbd0a..5bca44379 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -83,7 +83,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { }), ], esbuild: { - pure: viteEnv.VITE_DROP_CONSOLE ? ['console.log', 'debugger'] : [], + pure: viteEnv.VITE_DROP_CONSOLE ? ['console.log'] : [], }, build: { outDir: '../cmd/server/web',