HashedModuleIdsPlugin.d.ts 673 B

123456789101112131415161718192021222324
  1. /**
  2. * This file was automatically generated.
  3. * DO NOT MODIFY BY HAND.
  4. * Run `yarn special-lint-fix` to update
  5. */
  6. export interface HashedModuleIdsPluginOptions {
  7. /**
  8. * The context directory for creating names.
  9. */
  10. context?: string;
  11. /**
  12. * The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
  13. */
  14. hashDigest?: "hex" | "latin1" | "base64";
  15. /**
  16. * The prefix length of the hash digest to use, defaults to 4.
  17. */
  18. hashDigestLength?: number;
  19. /**
  20. * The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.
  21. */
  22. hashFunction?: string;
  23. }