On this page

new DeterministicModuleIdsPlugin(options?): DeterministicModuleIdsPlugin
Attributes

Creates an instance of DeterministicModuleIdsPlugin.

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

Applies the plugin by registering its hooks on the compiler.

Attributes
context:string
context relative to which module identifiers are computed
failOnConflict:boolean
throw an error when id conflicts occur (instead of rehashing)
fixedLength:boolean
do not increase the maxLength to find an optimal id space size
maxLength:number
maximum id length in digits (used as starting point)
salt:number
hash salt for ids
test:(module: Module) => boolean
selector function for modules