#!/usr/bin/env sh
rm -rf docs/dist

npx cross-env NODE_ENV=production webpack --config build/webpack.doc.js

superman-cdn cdn /vant ./docs/dist/*.js

rm -rf docs/dist/*.js

gh-pages -d docs/dist --add
