echo $PATH
node -v
npm -v
npm config get registry
cnpm install
npm run build
if [[ $isNeedCdn = true ]];
then
test -d sm || mkdir sm
cd sm
rm -rf *
cd ..
mv dist/static/js sm
mv dist/static/css sm
else
echo false
fi
nginx构建执行shell
最新推荐文章于 2023-08-24 22:17:26 发布