From deaa6346001ca843819824600ed138ebab4ce2ee Mon Sep 17 00:00:00 2001 From: cookfront Date: Mon, 27 Mar 2017 19:23:05 +0800 Subject: [PATCH] fix examples --- build/webpack.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/webpack.config.js b/build/webpack.config.js index b76332f52..f67f32fef 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -35,8 +35,8 @@ function wrap(render) { module.exports = { entry: { 'vendor': ['vue', 'vue-router'], - 'docs': './docs/index.js', - 'examples': './docs/examples.js' + 'zan-docs': './docs/index.js', + 'zan-examples': './docs/examples.js' }, output: { path: path.join(__dirname, '../docs/dist'), @@ -100,13 +100,13 @@ module.exports = { StyleExtractPlugin, new ProgressBarPlugin(), new HtmlWebpackPlugin({ - chunks: ['vendor', 'docs'], + chunks: ['vendor', 'zan-docs'], template: 'docs/index.tpl', filename: 'index.html', inject: true }), new HtmlWebpackPlugin({ - chunks: ['vendor', 'examples'], + chunks: ['vendor', 'zan-examples'], template: 'docs/index.tpl', filename: 'examples.html', inject: true