DeterministicChunkIdsPlugin
DeterministicChunkIdsPlugin assigns short numeric chunk ids that remain stable between builds, helping with long-term caching.
optimization.chunkIds: 'deterministic' uses this plugin internally. Add the plugin manually when you need to customize its options.
Examples
rspack.config.mjs
Options
salt
- Type:
number - Default:
10
The hash salt used when generating ids. Change this value to try a different hash starting value in the same id space.

