Home > purgecss-webpack-plugin > CompilerLike
CompilerLike interface
Compiler of webpack or Rspack, the part of it the plugin is applied to. The types of the plugin do not depend on webpack, which Rspack projects don't install.
Signature:
export interface CompilerLike
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
{ compilation: { tap(name: string, callback: (compilation: CompilationLike) => void): void; }; } |
