The content of this section is derived from the content of the following links and is subject to the CC BY 4.0 license.
The following contents can be assumed to be the result of modifications and deletions based on the original contents if not specifically stated.
Used to decide how the file system snapshots are created and invalidated.
Type: object = {hash?: boolean, timestamp?: boolean}
Default: { hash: false, timestamp: true }
Snapshots for resolving of requests. When both hash and timestamp are false, the snapshot will be valid forever.
Type: object = {hash?: boolean, timestamp?: boolean}
Default: { hash: false, timestamp: true }
Snapshots for building modules. When both hash and timestamp are false, the snapshot will be valid forever.
You can set the snapshot directly in rspack.config.js
: