Class: DevServerPlugin
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 DevServerPlugin(config
)
Constructs new DevServerPlugin
.
Parameters
Name | Type | Description |
---|---|---|
config | DevServerPluginConfig | Plugin configuration options. |
Defined in
packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:41
Methods
apply
▸ apply(compiler
): void
Apply the plugin.
Parameters
Name | Type | Description |
---|---|---|
compiler | Compiler | Webpack compiler instance. |
Returns
void
Implementation of
Defined in
packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:51