Skip to main content
Version: 2x

Interface: WebpackPlugin

Interface that all Webpack plugins should implement.

Implemented by

Table of contents

Methods

Methods

apply

apply(compiler): void

Entry point for a plugin. It should perform any kind of setup or initialization hook into compiler's events.

Parameters

NameTypeDescription
compilerCompilerWebpack compiler instance.

Returns

void

Defined in

packages/repack/src/types.ts:27