On this page

new EnableLibraryPlugin(type, options?): EnableLibraryPlugin
Attributes
type:string
library type that should be available
options of EnableLibraryPlugin

Creates an instance of EnableLibraryPlugin.

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

Applies the plugin by registering its hooks on the compiler.


Attributes
compiler:Compiler
the compiler instance
type:string
type of library
Returns:void

Checks enabled.


Attributes
compiler:Compiler
the compiler instance
type:string
type of library
Returns:void

Updates enabled using the provided compiler.

Returns enabled types.

Attributes
additionalApply:() => void
function that runs when applying the current plugin.