Merge pull request #1711 from dataease/pr@v1.7@refactor_mobile_build_path

refactor: 修改移动端打包路径
This commit is contained in:
fit2cloud-chenyw 2022-01-27 16:56:37 +08:00 committed by GitHub
commit dafe59502f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -418,13 +418,13 @@
</move>
<copy todir="src/main/resources/static/de-app">
<fileset dir="../mobile/dist/build/h5">
<fileset dir="../mobile/dist">
<exclude name="*.html"/>
</fileset>
</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>

2
mobile/.gitignore vendored
View File

@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log*
package-lock.json
tests/**/coverage/
.automator/
# Editor directories and files
.hbuilderx
.idea

View File

@ -7,7 +7,7 @@
"build": "npm run build:h5",
"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: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-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",