Skip to content

Commit

Permalink
feat: use webpack 5 typings
Browse files Browse the repository at this point in the history
  • Loading branch information
jantimon committed Jan 20, 2021
1 parent 1b59e09 commit d722b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"dependencies": {
"@types/html-minifier-terser": "^5.0.0",
"@types/tapable": "^1.0.5",
"@types/webpack": "^4.41.22",
"html-minifier-terser": "^5.0.1",
"loader-utils": "2.0.0",
"lodash": "^4.17.20",
Expand Down
4 changes: 2 additions & 2 deletions typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AsyncSeriesWaterfallHook } from "tapable";
import { Compiler, compilation } from 'webpack';
import { Compiler, Compilation } from 'webpack';
import { Options as HtmlMinifierOptions } from "html-minifier-terser";

export = HtmlWebpackPlugin;
Expand All @@ -9,7 +9,7 @@ declare class HtmlWebpackPlugin {

apply(compiler: Compiler): void;

static getHooks(compilation: compilation.Compilation): HtmlWebpackPlugin.Hooks;
static getHooks(compilation: Compilation): HtmlWebpackPlugin.Hooks;

/**
* Static helper to create a tag object to be get injected into the dom
Expand Down

0 comments on commit d722b9b

Please sign in to comment.