前端更改为yarn编译

This commit is contained in:
bjdgyc
2022-04-07 15:58:26 +08:00
parent 2b580067a2
commit 7a92aa8dff
6 changed files with 8673 additions and 12216 deletions

View File

@@ -16,9 +16,13 @@ echo "编译前端项目"
cd $cpath/web
#国内可替换源加快速度
#npx browserslist@latest --update-db
npm install --registry=https://registry.npm.taobao.org
#npm install --registry=https://registry.npm.taobao.org
#npm install
npm run build
#npm run build
yarn install
yarn run build
RETVAL $?
echo "编译二进制文件"