html-webpack-plugin
Advanced tools
+6
-2
@@ -1310,3 +1310,5 @@ // @ts-check | ||
| compilation.errors.push( | ||
| prettyError(templateResult.error, compiler.context).toString(), | ||
| new Error( | ||
| prettyError(templateResult.error, compiler.context).toString(), | ||
| ), | ||
| ); | ||
@@ -1501,3 +1503,5 @@ } | ||
| // with the error message and an error is logged | ||
| compilation.errors.push(prettyError(err, compiler.context).toString()); | ||
| compilation.errors.push( | ||
| new Error(prettyError(err, compiler.context).toString()), | ||
| ); | ||
| return this.options.showErrors | ||
@@ -1504,0 +1508,0 @@ ? prettyError(err, compiler.context).toHtml() |
+2
-2
| { | ||
| "name": "html-webpack-plugin", | ||
| "version": "5.6.3", | ||
| "version": "5.6.4", | ||
| "license": "MIT", | ||
@@ -61,3 +61,3 @@ "description": "Simplifies creation of HTML files to serve your webpack bundles", | ||
| "typescript": "4.9.4", | ||
| "webpack": "^5.95.0", | ||
| "webpack": "^5.101.0", | ||
| "webpack-cli": "4.5.0", | ||
@@ -64,0 +64,0 @@ "webpack-recompilation-simulator": "3.2.0" |
134895
0.05%2681
0.15%