new RealContentHashPlugin(realContentHashPluginOptions): RealContentHashPluginAttributes
realContentHashPluginOptions:
RealContentHashPluginOptionsReturns:
RealContentHashPluginCreates an instance of RealContentHashPlugin.
Attributes
getCompilationHooks:
(compilation: Compilation) => { updateHash: SyncBailHook<[Buffer<ArrayBufferLike>[], string], string | void> }apply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.
Attributes
hashDigest:
stringthe hash digest to use
hashFunction:
HashFunctionthe hash function to use