aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 9f1d34cba39..7638d579fcc 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -143,11 +143,11 @@ module.exports = {
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
+ minChunks: 3, // minimum number of chunks that must share the module
cacheGroups: {
vendors: {
// split every dependency into one bundle
test: /[\\/]node_modules[\\/]/,
- enforce: true,
// necessary to keep this name to properly inject it
// see OC_Template.php
name: 'core-common',