Home > @lynx-js/rspeedy > Output > filenameHash
The Output.filenameHash option controls whether to add a hash value to the filename after the production build.
Signature:
Output.filename has a higher priority than Output.filenameHash.
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.