mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
Merge pull request #14958 from Ithanil/disable_console_log
feat: Disable console.log/debug in production
This commit is contained in:
commit
91af2698be
1 changed files with 3 additions and 0 deletions
|
|
@ -39,5 +39,8 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
worker: {
|
worker: {
|
||||||
format: 'es'
|
format: 'es'
|
||||||
|
},
|
||||||
|
esbuild: {
|
||||||
|
pure: ['console.log', 'console.debug']
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue