Skip to content

Commit

Permalink
fix: Fix the issue of frontend packaging errors (#7661)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored Jan 7, 2025
1 parent 83db40e commit 8922395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8922395

Please sign in to comment.