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

Name Type Description
compiler Compiler Webpack compiler instance.

Returns

void

Defined in

packages/repack/src/types.ts:27