[Doc] fix site build

This commit is contained in:
陈嘉涵 2018-08-11 21:11:07 +08:00
parent 738031f484
commit d6e1ed07ff
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ module.exports = Object.assign(config, {
mode: 'production',
output: {
path: path.join(__dirname, '../docs/dist'),
publicPath: 'https://youzan.github.io/vant/',
publicPath: 'https://youzan.github.io/vant-weapp/',
filename: '[name].[hash:8].js',
chunkFilename: 'async_[name].[chunkhash:8].js'
}

View File

@ -40,7 +40,7 @@
"fast-glob": "^2.2.2",
"fast-vue-md-loader": "^1.0.3",
"fs-extra": "^7.0.0",
"gh-pages": "^1.1.0",
"gh-pages": "^1.2.0",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
"gulp-clean-css": "^3.9.0",

View File

@ -2911,7 +2911,7 @@ get-value@^2.0.3, get-value@^2.0.6:
version "2.0.6"
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
gh-pages@^1.1.0:
gh-pages@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/gh-pages/-/gh-pages-1.2.0.tgz#1acb92801078f7c038a167f447221d1496ccfbee"
dependencies: