Просмотр исходного кода

chore: 更新 package.json pnpm 最高10.10.0 可以,10.12.0安装会报错。

feige996 10 месяцев назад
Родитель
Сommit
085185dc0f
2 измененных файлов с 5 добавлено и 1 удалено
  1. 1 0
      package.json
  2. 4 1
      src/manifest.json

+ 1 - 0
package.json

@@ -2,6 +2,7 @@
   "name": "unibest",
   "name": "unibest",
   "type": "commonjs",
   "type": "commonjs",
   "version": "3.2.0",
   "version": "3.2.0",
+  "packageManager": "pnpm@10.10.0",
   "description": "unibest - 最好的 uniapp 开发模板",
   "description": "unibest - 最好的 uniapp 开发模板",
   "update-time": "2025-06-21",
   "update-time": "2025-06-21",
   "author": {
   "author": {

+ 4 - 1
src/manifest.json

@@ -89,7 +89,10 @@
       "es6": true,
       "es6": true,
       "minified": true
       "minified": true
     },
     },
-    "usingComponents": true
+    "usingComponents": true,
+    "optimization": {
+      "subPackages": true
+    }
   },
   },
   "mp-alipay": {
   "mp-alipay": {
     "usingComponents": true,
     "usingComponents": true,