mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45: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: {
|
||||
format: 'es'
|
||||
},
|
||||
esbuild: {
|
||||
pure: ['console.log', 'console.debug']
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue