vant-weapp/build/release-site.sh
2019-08-08 18:48:10 +08:00

11 lines
207 B
Bash

#!/usr/bin/env sh
rm -rf docs/dist
npx cross-env NODE_ENV=production webpack --config build/webpack.doc.prd.js
superman-cdn /vant-weapp ./docs/dist/*.js
rm -rf docs/dist/*.js
gh-pages -d docs/dist --add