On this page

new RealContentHashPlugin(realContentHashPluginOptions): RealContentHashPlugin
Attributes
realContentHashPluginOptions:RealContentHashPluginOptions

Creates an instance of RealContentHashPlugin.

apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.


Attributes
compilation:Compilation
the compilation
the attached hooks

Returns the attached hooks.

Attributes
updateHash:SyncBailHook<[Buffer<ArrayBufferLike>[], string], string | void>

Attributes
hashDigest:string
the hash digest to use
hashFunction:HashFunction
the hash function to use