瀏覽代碼

update vite.config.js

RuoYi 3 年之前
父節點
當前提交
7d4b0c6c1e
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      vite.config.js

+ 4 - 4
vite.config.js

@@ -35,7 +35,7 @@ export default defineConfig(({ mode, command }) => {
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }
-      },
+      }
     },
     //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
     css: {
@@ -51,8 +51,8 @@ export default defineConfig(({ mode, command }) => {
               }
             }
           }
-        ],
-      },
-    },
+        ]
+      }
+    }
   }
 })