TIANYONG преди 2 месеца
родител
ревизия
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  
         }