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 打印 }, }), ],