浏览代码

去除打印

tongshangming 6 月之前
父节点
当前提交
a83313880a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      vite.config.ts

+ 3 - 3
vite.config.ts

@@ -14,7 +14,7 @@ import { sentryVitePlugin } from '@sentry/vite-plugin'
 
 export default defineConfig(({ mode }) => {
   const env = loadEnv(mode, process.cwd(), '')
-  console.log(mode)
+
   return {
     base: '/',
     plugins: [
@@ -73,11 +73,11 @@ export default defineConfig(({ mode }) => {
       sourcemap: !!env.VITE_SENTRY_DSN,
       rollupOptions: {
         output: {
-          manualChunks: (id) => {
+          manualChunks: id => {
             if (id.includes('node_modules')) {
               return 'vender'
             }
-          }     
+          }
         }
       }
     }