UNPKG

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