diff --git a/typings.d.ts b/typings.d.ts index babdeace..9335b1af 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -1,5 +1,5 @@ import { AsyncSeriesWaterfallHook } from "tapable"; -import { Compiler } from 'webpack'; +import { Compiler, compilation } from 'webpack'; import { Options as HtmlMinifierOptions } from "html-minifier"; export = HtmlWebpackPlugin; @@ -8,6 +8,8 @@ declare class HtmlWebpackPlugin { constructor(options?: HtmlWebpackPlugin.Options); apply(compiler: Compiler): void; + + static getHooks(compilation: compilation.Compilation): HtmlWebpackPlugin.Hooks; } declare namespace HtmlWebpackPlugin {