From 078ee8eb4bc9e4643040afade121b0e5a0880abb Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 6 Mar 2026 16:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E5=8F=94=E5=8F=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index a31905f..1a0c61b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -151,7 +151,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { plugins: [ terser({ compress: { - drop_console: false, // 关闭所有的 console.log 打印 + drop_console: true, // 关闭所有的 console.log 打印 }, }), ],