vant-weapp/build/release-site.sh
2019-08-02 15:10:21 +08:00

11 lines
211 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 cdn /vant-weapp ./docs/dist/*.js
rm -rf docs/dist/*.js
gh-pages -d docs/dist --add