From 2282f1c834f03acf9e4469fbd18073ec84d2ca37 Mon Sep 17 00:00:00 2001 From: lilinyuan <1084668738@qq.com> Date: Fri, 29 Mar 2024 17:14:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=A6=81=E7=94=A8debugger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } },