[Doc] deploy to github pages

This commit is contained in:
陈嘉涵
2018-05-28 18:49:41 +08:00
parent 155930192b
commit 0cde378373
6 changed files with 10 additions and 11 deletions

View File

@@ -14,6 +14,10 @@ module.exports = {
publicPath: '/',
chunkFilename: 'async_[name].js'
},
stats: {
modules: false,
children: false
},
serve: {
open: true,
host: '0.0.0.0',
@@ -83,7 +87,7 @@ module.exports = {
new HtmlWebpackPlugin({
chunks: ['vant-mobile'],
template: 'docs/src/index.tpl',
filename: 'examples.html',
filename: 'mobile.html',
inject: true
})
]