Class for running development server that handles serving the built bundle, all assets as well as providing Hot Module Replacement functionality.
• new DevServerPlugin(config)
Constructs new DevServerPlugin.
| Name | Type | Description |
|---|---|---|
config |
DevServerPluginConfig |
Plugin configuration options. |
packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:41
▸ apply(compiler): void
Apply the plugin.
| Name | Type | Description |
|---|---|---|
compiler |
Compiler |
Webpack compiler instance. |
void
packages/repack/src/webpack/plugins/DevServerPlugin/DevServerPlugin.ts:51