You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,7 +165,11 @@ T> `maxSize` takes higher priority than `maxInitialRequest/maxAsyncRequests`. Ac
164
165
165
166
`boolean: true | function (module, chunks, cacheGroupKey) | string`
166
167
167
-
The name of the split chunk. Providing `true` will automatically generate a name based on chunks and cache group key. Providing a string or function will allow you to use a custom name. If the name matches an entry point name, the entry point will be removed.
168
+
The name of the split chunk. Providing `true` will automatically generate a name based on chunks and cache group key.
169
+
170
+
Providing a string or a function allows you to use a custom name. Specifying either a string or a function that always returns the same string will merge all common modules and vendors into a single chunk. This might lead to bigger initial downloads and slow down page loads.
171
+
172
+
If the `splitChunks.name` matches an [entry point](/configuration/entry-context/#entry) name, the entry point will be removed.
168
173
169
174
T> It is recommended to set `splitChunks.name` to `false` for production builds so that it doesn't change names unnecessarily.
0 commit comments