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

Name Type Description
config? DevelopmentPluginConfig Plugin configuration options.

Defined in

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

Methods

apply

apply(compiler): void

Apply the plugin.

Parameters

Name Type Description
compiler Compiler Webpack compiler instance.

Returns

void

Implementation of

WebpackPlugin.apply

Defined in

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