浏览代码

解决打包问题

shizhong 10 月之前
父节点
当前提交
d318a126e1
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      package.json

+ 6 - 1
package.json

@@ -125,10 +125,15 @@
     "vite-plugin-progress": "^0.0.7",
     "vite-plugin-purge-icons": "^0.10.0",
     "vite-plugin-svg-icons": "^2.0.1",
-    "vite-plugin-top-level-await": "^1.3.1",
+    "vite-plugin-top-level-await": "1.3.1",
     "vue-eslint-parser": "^9.3.2",
     "vue-tsc": "^1.8.27"
   },
+  "overrides": {
+    "vite-plugin-top-level-await": {
+      "@swc/core": "1.3.10"
+    }
+  },
   "license": "MIT",
   "repository": {
     "type": "git",