diff options
author | Varun Patil <varunpatil@ucla.edu> | 2023-05-16 16:22:15 -0700 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-05-23 22:34:14 +0200 |
commit | 48e1a5834585703e435fc562629e48113e3e2485 (patch) | |
tree | 8b4ed47941468588b52355e836937230c8760098 /webpack.common.js | |
parent | 66a8a9fba1b92d63b852b1606d9f3bb0400a99cf (diff) | |
download | nextcloud-server-48e1a5834585703e435fc562629e48113e3e2485.tar.gz nextcloud-server-48e1a5834585703e435fc562629e48113e3e2485.zip |
Optimize webpack chunks
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 2 |
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', |