fix examples
This commit is contained in:
@@ -35,8 +35,8 @@ function wrap(render) {
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
'vendor': ['vue', 'vue-router'],
|
'vendor': ['vue', 'vue-router'],
|
||||||
'docs': './docs/index.js',
|
'zan-docs': './docs/index.js',
|
||||||
'examples': './docs/examples.js'
|
'zan-examples': './docs/examples.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, '../docs/dist'),
|
path: path.join(__dirname, '../docs/dist'),
|
||||||
@@ -100,13 +100,13 @@ module.exports = {
|
|||||||
StyleExtractPlugin,
|
StyleExtractPlugin,
|
||||||
new ProgressBarPlugin(),
|
new ProgressBarPlugin(),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
chunks: ['vendor', 'docs'],
|
chunks: ['vendor', 'zan-docs'],
|
||||||
template: 'docs/index.tpl',
|
template: 'docs/index.tpl',
|
||||||
filename: 'index.html',
|
filename: 'index.html',
|
||||||
inject: true
|
inject: true
|
||||||
}),
|
}),
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
chunks: ['vendor', 'examples'],
|
chunks: ['vendor', 'zan-examples'],
|
||||||
template: 'docs/index.tpl',
|
template: 'docs/index.tpl',
|
||||||
filename: 'examples.html',
|
filename: 'examples.html',
|
||||||
inject: true
|
inject: true
|
||||||
|
|||||||
Reference in New Issue
Block a user