From 2698c7e45a7f12113a07b256dc400ec89666130d Mon Sep 17 00:00:00 2001 From: Ian Beringer Date: Mon, 23 Mar 2020 18:05:00 +0100 Subject: [PATCH] fix: update typedefs to match with html-minifier-terser --- package.json | 2 +- typings.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b91086e5..0aa3c3df 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ ] }, "devDependencies": { - "@types/html-minifier": "3.5.3", + "@types/html-minifier-terser": "5.0.0", "@types/loader-utils": "1.1.3", "@types/node": "11.13.9", "@types/tapable": "1.0.4", diff --git a/typings.d.ts b/typings.d.ts index 9335b1af..102efbcf 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -1,6 +1,6 @@ import { AsyncSeriesWaterfallHook } from "tapable"; import { Compiler, compilation } from 'webpack'; -import { Options as HtmlMinifierOptions } from "html-minifier"; +import { Options as HtmlMinifierOptions } from "html-minifier-terser"; export = HtmlWebpackPlugin;