Interface that all Webpack plugins should implement.
AssetsResolverPlugin
ChunksToHermesBytecodePlugin
CodeSigningPlugin
DevelopmentPlugin
JavaScriptLooseModePlugin
LoggerPlugin
ManifestPlugin
ModuleFederationPlugin
OutputPlugin
ReactRefreshPlugin
RepackPlugin
RepackTargetPlugin
▸ 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