From b0ff8ba1be3d8004b966ddbdad15c2016f7defb0 Mon Sep 17 00:00:00 2001 From: bjdgyc Date: Tue, 22 Jun 2021 15:42:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0build=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 "编译二进制文件"