diff --git a/vite.config.js b/vite.config.js index f8e0c64..3dc021f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -59,7 +59,7 @@ export default defineConfig({ terserOptions: { compress: { drop_console: false, // 生产环境移除log - drop_debugger: false // 生产环境禁用debugger + drop_debugger: true // 生产环境禁用debugger } } },