diff --git a/build.sh b/build.sh index eda8745..a0f554d 100644 --- a/build.sh +++ b/build.sh @@ -15,10 +15,10 @@ cpath=$(pwd) echo "编译前端项目" cd $cpath/web #国内可替换源加快速度 +npx browserslist@latest --update-db npm install --registry=https://registry.npm.taobao.org -npm run build --registry=https://registry.npm.taobao.org #npm install -#npm run build +npm run build RETVAL $? echo "编译二进制文件"