Skip to main content
Version: 3x

Class: DevelopmentPlugin

plugins.DevelopmentPlugin

Class for running development server that handles serving the built bundle, all assets as well as providing Hot Module Replacement functionality.

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new DevelopmentPlugin(config?)

Constructs new DevelopmentPlugin.

Parameters

NameTypeDescription
config?DevelopmentPluginConfigPlugin configuration options.

Defined in

packages/repack/src/webpack/plugins/DevelopmentPlugin.ts:35

Methods

apply

apply(compiler): void

Apply the plugin.

Parameters

NameTypeDescription
compilerCompilerWebpack compiler instance.

Returns

void

Implementation of

WebpackPlugin.apply

Defined in

packages/repack/src/webpack/plugins/DevelopmentPlugin.ts:42