Parcourir la source

fix(build): 修正自定义H5构建输出路径

- 将H5自定义构建的输出目录从smqjhh5修改为dist/smqjhh5
- 清理manifest.json文件末尾多余的空行
zhangtao il y a 3 jours
Parent
commit
739fb7b478
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -35,7 +35,7 @@
     "build:custom": "uni build -p",
     "build:h5": "uni build",
     "build:h5:ssr": "uni build --ssr",
-    "build:h5:custom": "uni build -p h5 --outDir smqjhh5",
+    "build:h5:custom": "uni build -p h5 --outDir dist/smqjhh5",
     "build:h5:development": "uni build --mode development",
     "build:h5:staging": "uni build --mode staging",
     "build:h5:production": "uni build --mode production",