new HashedModuleIdsPlugin(options?): HashedModuleIdsPluginAttributes
options:
<HashedModuleIdsPluginOptions>Returns:
<HashedModuleIdsPlugin>Creates an instance of HashedModuleIdsPlugin.
Attributes
options:
<HashedModuleIdsPluginOptions>apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
<void>Applies the plugin by registering its hooks on the compiler.
Attributes
context:
<string>The context directory for creating names.
hashDigest:
<"ascii">
|
<"utf8">
|
<"utf-8">
|
<"utf16le">
|
<"utf-16le">
|
<"ucs2">
|
<"ucs-2">
|
<"base64">
|
<"base64url">
|
<"latin1">
|
<"binary">
|
<"hex">
The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.hashDigestLength:
<number>The prefix length of the hash digest to use, defaults to 4.
hashFunction:
<string>
|
<typeof Hash>The hashing algorithm to use, defaults to 'md4'. All functions from Node.JS' crypto.createHash are supported.