Interface that all Webpack plugins should implement.
AssetsResolverPluginChunksToHermesBytecodePluginCodeSigningPluginDevelopmentPluginJavaScriptLooseModePluginLoggerPluginManifestPluginModuleFederationPluginOutputPluginReactRefreshPluginRepackPluginRepackTargetPlugin▸ apply(compiler): void
Entry point for a plugin. It should perform any kind of setup or initialization hook into compiler's events.
| Name | Type | Description |
|---|---|---|
compiler |
Compiler |
Webpack compiler instance. |
void