update dependencies

This commit is contained in:
陈嘉涵
2018-02-22 10:02:23 +08:00
parent 1dcec743e8
commit bfdf146f76
4 changed files with 36 additions and 28 deletions

View File

@@ -27,7 +27,7 @@ module.exports = {
host: '0.0.0.0',
historyApiFallback: {
rewrites: [
{ from: /^\/zanui\/vant\/examples/, to: '/mobile.html' },
{ from: /^\/zanui\/vant\/examples/, to: '/examples.html' },
{ from: /^\/zanui\/vant/, to: '/index.html' }
]
},
@@ -100,7 +100,7 @@ module.exports = {
new HtmlWebpackPlugin({
chunks: ['vendor', 'vant-mobile'],
template: 'docs/src/index.tpl',
filename: 'mobile.html',
filename: 'examples.html',
inject: true
}),
new webpack.optimize.CommonsChunkPlugin({