提交 02eb894b authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 修改移动端打包路径

上级 92d62fe7
...@@ -418,13 +418,13 @@ ...@@ -418,13 +418,13 @@
</move> </move>
<copy todir="src/main/resources/static/de-app"> <copy todir="src/main/resources/static/de-app">
<fileset dir="../mobile/dist/build/h5"> <fileset dir="../mobile/dist">
<exclude name="*.html"/> <exclude name="*.html"/>
</fileset> </fileset>
</copy> </copy>
<copy file="../mobile/dist/build/h5/index.html" tofile="src/main/resources/templates/app.html" /> <copy file="../mobile/dist/index.html" tofile="src/main/resources/templates/app.html" />
</target> </target>
......
...@@ -6,7 +6,7 @@ yarn-debug.log* ...@@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log* yarn-error.log*
package-lock.json package-lock.json
tests/**/coverage/ tests/**/coverage/
.automator/
# Editor directories and files # Editor directories and files
.hbuilderx .hbuilderx
.idea .idea
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"build": "npm run build:h5", "build": "npm run build:h5",
"build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build", "build:app-plus": "cross-env NODE_ENV=production UNI_PLATFORM=app-plus vue-cli-service uni-build",
"build:custom": "cross-env NODE_ENV=production uniapp-cli custom", "build:custom": "cross-env NODE_ENV=production uniapp-cli custom",
"build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 vue-cli-service uni-build", "build:h5": "cross-env NODE_ENV=production UNI_PLATFORM=h5 UNI_OUTPUT_DIR=dist vue-cli-service uni-build",
"build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build", "build:mp-360": "cross-env NODE_ENV=production UNI_PLATFORM=mp-360 vue-cli-service uni-build",
"build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build", "build:mp-alipay": "cross-env NODE_ENV=production UNI_PLATFORM=mp-alipay vue-cli-service uni-build",
"build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build", "build:mp-baidu": "cross-env NODE_ENV=production UNI_PLATFORM=mp-baidu vue-cli-service uni-build",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论