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
Tells webpack which algorithm to use when choosing chunk ids. Setting `optimization.chunkIds` to `false` tells webpack that none of built-in algorithms should be used, as custom one can be provided via plugin. There are couple of defaults for `optimization.chunkIds`:
208
+
209
+
- if [`optimization.occurrenceOrder`](#optimization-occurrenceorder) is enabled `optimization.chunkIds` is set to `'total-size'`
210
+
- Disregarding previous if, if [`optimization.namedChunks`](#optimization-namedchunks) is enabled `optimization.chunkIds` is set to `'named'`
211
+
- if none of the above, `optimization.namedChunks` will be defaulted to `'natural'`
212
+
213
+
The following string values are supported:
214
+
215
+
Option | Description
216
+
----------------------- | -----------------------
217
+
`'natural'` | Numeric ids in order of usage.
218
+
`'named'` | Readable ids for better debugging.
219
+
`'size'` | Numeric ids focused on minimal initial download size.
220
+
`'total-size'` | numeric ids focused on minimal total download size.
0 commit comments