remove common_vue CommonsChunk config
This commit is contained in:
parent
ce4dd19e09
commit
41bba60490
|
@ -215,20 +215,6 @@ const config = {
|
|||
return `${moduleNames[0]}-${hash.substr(0, 6)}`;
|
||||
}),
|
||||
|
||||
// create cacheable common library bundle for all vue chunks
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
name: 'common_vue',
|
||||
chunks: [
|
||||
'monitoring',
|
||||
'mr_notes',
|
||||
'registry_list',
|
||||
'ide',
|
||||
],
|
||||
minChunks: function(module, count) {
|
||||
return module.resource && (/vue_shared/).test(module.resource);
|
||||
},
|
||||
}),
|
||||
|
||||
// create cacheable common library bundles
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
names: ['main', 'common', 'webpack_runtime'],
|
||||
|
|
Loading…
Reference in New Issue