webpack/schemas/plugins/HashedModuleIdsPlugin.json

21 lines
662 B
JSON

{
"type": "object",
"additionalProperties": false,
"properties": {
"hashFunction": {
"description": "The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.",
"type": "string",
"minLength": 1
},
"hashDigest": {
"description": "The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.",
"enum": ["hex", "latin1", "base64"]
},
"hashDigestLength": {
"description": "The prefix length of the hash digest to use, defaults to 4.",
"type": "number",
"minimum": 1
}
}
}