mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-18 15:59:16 +08:00
fix: Fix the issue of frontend packaging errors (#7661)
This commit is contained in:
parent
83db40e261
commit
8922395fdc
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user