Home > @lynx-js/rspeedy > Output > filenameHash
Output.filenameHash property
The Output.filenameHash option controls whether to add a hash value to the filename after the production build.
Signature:
Remarks
Output.filename has a higher priority than Output.filenameHash.
Example 1
- Disable hash
Example 2
- Change hash format
The available hash formats are:
-
fullhash: The hash value of the entire compilation. If any file changes, the hash values of all output files in the entire project will change. -
chunkhash: The hash value of the chunk. The hash value will only change when the content of the chunk (and its included modules) changes. -
contenthash: The hash value of the file content. The hash value will only change when the content of the file itself changes.

