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:
Cássio Zen 2016-10-31 12:41:20 -02:00
parent 78daa574af
commit a10a132e4f

View File

@ -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),
}),
],
});