Skip to main content
webpack / IgnorePlugin

Class: IgnorePlugin

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

Constructors

Constructor

new IgnorePlugin(options): IgnorePlugin
Defined in: webpack/types.d.ts:6845

Parameters

options
IgnorePluginOptions

Returns

IgnorePlugin

Properties

options

options: IgnorePluginOptions
Defined in: webpack/types.d.ts:6846

Methods

apply()

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

Parameters

compiler
Compiler

Returns

void

checkIgnore()

checkIgnore(resolveData): false
Defined in: webpack/types.d.ts:6851 Note that if “contextRegExp” is given, both the “resourceRegExp” and “contextRegExp” have to match.

Parameters

resolveData
BeforeContextResolveData | ResolveData

Returns

false