UNPKG

846 BJSONView Raw
1{
2 "title": "HashedModuleIdsPluginOptions",
3 "type": "object",
4 "additionalProperties": false,
5 "properties": {
6 "context": {
7 "description": "The context directory for creating names.",
8 "type": "string",
9 "absolutePath": true
10 },
11 "hashDigest": {
12 "description": "The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.",
13 "enum": ["hex", "latin1", "base64"]
14 },
15 "hashDigestLength": {
16 "description": "The prefix length of the hash digest to use, defaults to 4.",
17 "type": "number",
18 "minimum": 1
19 },
20 "hashFunction": {
21 "description": "The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.",
22 "type": "string",
23 "minLength": 1
24 }
25 }
26}