diff --git a/src/content/api/loaders.mdx b/src/content/api/loaders.mdx index c26696d357cf..64b14b542e0c 100644 --- a/src/content/api/loaders.mdx +++ b/src/content/api/loaders.mdx @@ -389,6 +389,38 @@ module.exports = function (source) { }; ``` +### this.hashDigest + +`string` + + + +The encoding to use when generating the hash. See [output.hashDigest](/configuration/output/#outputhashdigest). + +### this.hashDigestLength + +`number` + + + +The prefix length of the hash digest to use. See [output.hashDigestLength](/configuration/output/#outputhashdigestlength). + +### this.hashFunction + +`string` `function` + + + +The hashing algorithm to use. See [output.hashFunction](/configuration/output/#outputhashfunction). + +### this.hashSalt + +`string` + + + +An optional salt to update the hash via Node.JS' [`hash.update`](https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding). See [output.hashSalt](/configuration/output/#outputhashsalt). + ### this.importModule