fix: 生产环境禁用debugger

This commit is contained in:
lilinyuan
2024-03-29 17:14:04 +08:00
parent e418b588f6
commit 2282f1c834

View File

@@ -59,7 +59,7 @@ export default defineConfig({
terserOptions: {
compress: {
drop_console: false, // 生产环境移除log
drop_debugger: false // 生产环境禁用debugger
drop_debugger: true // 生产环境禁用debugger
}
}
},