Skip to content

Commit e38ac97

Browse files
Update index.js
Co-authored-by: Jan Nicklas <[email protected]>
1 parent f08bd02 commit e38ac97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ function hookIntoCompiler (compiler, options, plugin) {
10461046
return html;
10471047
}
10481048
try {
1049-
return await require('html-minifier-terser').minify(html, options.minify);
1049+
return require('html-minifier-terser').minify(html, options.minify);
10501050
} catch (e) {
10511051
const isParseError = String(e.message).indexOf('Parse Error') === 0;
10521052
if (isParseError) {

0 commit comments

Comments
 (0)