Interface that all Webpack plugins should implement.
AssetsPlugin
AssetsResolverPlugin
DevServerPlugin
JavaScriptLooseModePlugin
LoggerPlugin
OutputPlugin
TargetPlugin
▸ 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