On this page

new EnableLibraryPlugin(type, options?): EnableLibraryPlugin
Attributes
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 of library
Returns:<void>

Checks enabled.


Attributes
compiler:<Compiler>
the compiler instance
type of library
Returns:<void>

Updates enabled using the provided compiler.

Returns enabled types.

Attributes
additionalApply:<Function>
function that runs when applying the current plugin.