TIANYONG 2 месяцев назад
Родитель
Сommit
ad36f00072
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      vite.config.ts

+ 1 - 1
vite.config.ts

@@ -48,7 +48,7 @@ export default defineConfig({
     minify: 'terser', // 启用 terser 压缩  
     terserOptions: {  
         compress: {  
-            pure_funcs: ['console.log'], // 只删除 console.log 
+            // pure_funcs: ['console.log'], // 只删除 console.log 
             //drop_console: true, // 删除所有 console
             drop_debugger: true, // 删除 debugger  
         }