[kbn/optimizer] tweak split chunks options (#80444)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
2b380b6583
commit
ff32bb1716
|
@ -64,6 +64,14 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker:
|
|||
|
||||
optimization: {
|
||||
noEmitOnErrors: true,
|
||||
splitChunks: {
|
||||
maxAsyncRequests: 10,
|
||||
cacheGroups: {
|
||||
default: {
|
||||
reuseExistingChunk: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
externals: [UiSharedDeps.externals],
|
||||
|
|
Loading…
Reference in a new issue