mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
chore: update release site sh
This commit is contained in:
parent
2dba8c9455
commit
648d301fbd
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,7 +12,7 @@ package-lock.json
|
||||
es
|
||||
lib
|
||||
dist
|
||||
./site
|
||||
/site
|
||||
changelog.generated.md
|
||||
test/coverage
|
||||
vetur
|
||||
|
@ -1,10 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
rm -rf docs/dist
|
||||
|
||||
vant-cli build-site
|
||||
|
||||
superman-cdn /vant ./docs/dist/*.js
|
||||
superman-cdn /vant ./site/*.js
|
||||
|
||||
rm -rf docs/dist/*.js
|
||||
rm -rf site/*.js
|
||||
|
||||
gh-pages -d docs/dist --add
|
||||
gh-pages -d site --add
|
||||
|
@ -3,7 +3,7 @@ module.exports = {
|
||||
build: {
|
||||
skipInstall: ['lazyload'],
|
||||
site: {
|
||||
publicPath: 'vant/'
|
||||
publicPath: '/vant/'
|
||||
},
|
||||
vetur: {
|
||||
tagPrefix: 'van-'
|
||||
|
Loading…
x
Reference in New Issue
Block a user