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