mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +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
@ -39,5 +39,8 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
worker: {
|
worker: {
|
||||||
format: 'es'
|
format: 'es'
|
||||||
|
},
|
||||||
|
esbuild: {
|
||||||
|
pure: ['console.log', 'console.debug']
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user