Do not generate vendor assets
We already had documented that the user needs to import cms.js and cms.css - introducing vendor files now can cause trubles to existing users
This commit is contained in:
parent
78daa574af
commit
a10a132e4f
@ -39,11 +39,5 @@ module.exports = merge.smart(require('./webpack.base.js'), {
|
||||
|
||||
// Extract CSS
|
||||
new ExtractTextPlugin('[name].css', { allChunks: true }),
|
||||
|
||||
// Automatically extract all 3rd party modules into a separate 'vendor' chunk
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
name: 'vendor',
|
||||
minChunks: ({ resource }) => /node_modules/.test(resource),
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user