mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
11 lines
207 B
Bash
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
|