From 7f3ad66e1519033a0215adc03afb142788882e3a Mon Sep 17 00:00:00 2001 From: theluyuan <1162963624@qq.com> Date: Tue, 15 Apr 2025 15:14:54 +0800 Subject: [PATCH] 123 --- vite.config.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 3ff8453..738ea64 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -21,16 +21,16 @@ export default defineConfig({ entry: path.resolve(__dirname, "src/index.ts"), name: camelize(name), }, - // terserOptions: { - // compress: { - // drop_console: true, - // drop_debugger: true, - // pure_funcs: ["console.log"], - // }, - // output: { - // comments: true, - // }, - // }, + terserOptions: { + compress: { + drop_console: false, + drop_debugger: true, + pure_funcs: [], + }, + output: { + comments: true, + }, + }, rollupOptions: { output: { exports: "named",