webpack/schemas/plugins/HashedModuleIdsPlugin.json

21 lines
662 B
JSON
Raw Normal View History

2017-10-27 23:23:38 +02:00
{
2017-11-19 11:45:15 +01:00
"type": "object",
"additionalProperties": false,
"properties": {
"hashFunction": {
"description": "The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.",
2017-11-20 10:17:34 +01:00
"type": "string",
"minLength": 1
2017-11-19 11:45:15 +01:00
},
"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"]
2017-11-19 11:45:15 +01:00
},
"hashDigestLength": {
"description": "The prefix length of the hash digest to use, defaults to 4.",
2017-11-20 10:17:34 +01:00
"type": "number",
"minimum": 1
2017-11-19 11:45:15 +01:00
}
}
2017-10-27 23:23:38 +02:00
}