Merge pull request #14958 from Ithanil/disable_console_log

feat: Disable console.log/debug in production
This commit is contained in:
Tim Jaeryang Baek 2025-06-13 16:04:13 +04:00 committed by GitHub
commit 91af2698be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,5 +39,8 @@ export default defineConfig({
},
worker: {
format: 'es'
},
esbuild: {
pure: ['console.log', 'console.debug']
}
});