Skip to main content
webpack / library / EnableLibraryPlugin

Class: EnableLibraryPlugin

Defined in: webpack/types.d.ts:4717

Constructors

Constructor

new EnableLibraryPlugin(type, options?): EnableLibraryPlugin
Defined in: webpack/types.d.ts:4718

Parameters

type
string
options?
EnableLibraryPluginOptions

Returns

EnableLibraryPlugin

Properties

options

options: EnableLibraryPluginOptions
Defined in: webpack/types.d.ts:4720

type

type: string
Defined in: webpack/types.d.ts:4719

Methods

apply()

apply(compiler): void
Defined in: webpack/types.d.ts:4725 Apply the plugin

Parameters

compiler
Compiler

Returns

void

checkEnabled()

static checkEnabled(compiler, type): void
Defined in: webpack/types.d.ts:4727

Parameters

compiler
Compiler
type
string

Returns

void

setEnabled()

static setEnabled(compiler, type): void
Defined in: webpack/types.d.ts:4726

Parameters

compiler
Compiler
type
string

Returns

void