HashedModuleIdsPlugin.json 694 B

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