Commit 901fefa4 authored by sven's avatar sven

11

parent 27602cc0
#!/bin/sh -l
#cd phone
#npm i
#npm run build
#\cp -rfp dist/* ../dist_phone
cd server
bee pack -a "qsh-wc-test" -exp=".git:.idea:phone:pc" exs="Dockerfile:build.sh"
\ No newline at end of file
#!/bin/sh -l
cd phone
npm i
npm run build
mv dist/env/prod.js dist/env.js
\cp -rfp dist/* ../dist_phone
cd ../
bee pack -a "cf_data_monitor_prod" -exp=".git:.idea:phone:pc" exs="Dockerfile:build.sh"
\ No newline at end of file
......@@ -44,7 +44,7 @@ export default ({
const esbuild = {}
return {
base: './', // index.html文件所在位置
base: '/admin', // index.html文件所在位置
root: './', // js导入的资源路径,src
resolve: {
alias,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment