From a10a132e4f0644400b60683b33e956da4adf2700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Mon, 31 Oct 2016 12:41:20 -0200 Subject: [PATCH] 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 --- webpack.prod.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webpack.prod.js b/webpack.prod.js index ca79b8e6..fbbd017b 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -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), - }), ], });