fix: Fix the issue of frontend packaging errors (#7661)

This commit is contained in:
ssongliu
2025-01-07 06:47:35 +00:00
committed by GitHub
parent 83db40e261
commit 8922395fdc
+1 -1
View File
@@ -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',