diff --git a/docs/site/release.sh b/docs/site/release.sh index 072acb9d0..d0b1d5633 100644 --- a/docs/site/release.sh +++ b/docs/site/release.sh @@ -1,8 +1,4 @@ #!/usr/bin/env sh vant-cli build-site -superman-cdn /vant ./site/*.js - -rm -rf site/*.js - gh-pages -d site --add diff --git a/vant.config.js b/vant.config.js index d7170181b..63368cfc7 100644 --- a/vant.config.js +++ b/vant.config.js @@ -3,7 +3,7 @@ module.exports = { build: { skipInstall: ['lazyload'], site: { - publicPath: process.env.PUBLIC_PATH || 'https://b.yzcdn.cn/vant/', + publicPath: process.env.PUBLIC_PATH || '/vant/', }, vetur: { tagPrefix: 'van-',