Prechádzať zdrojové kódy

feat: 打印console

TIANYONG 2 mesiacov pred
rodič
commit
ad36f00072
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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  
         }