html-rspack-plugin
Advanced tools
+7
-4
| // @ts-nocheck | ||
| "use strict"; | ||
| 'use strict'; | ||
@@ -7,3 +7,3 @@ module.exports = function (err) { | ||
| toHtml: function () { | ||
| return "[html-rspack-plugin]:\n<pre>\n" + this.toString() + "</pre>"; | ||
| return '[html-rspack-plugin]:\n<pre>\n' + this.toString() + '</pre>'; | ||
| }, | ||
@@ -15,7 +15,10 @@ toJsonHtml: function () { | ||
| if (err.message) { | ||
| return `[html-rspack-plugin]: ` + err.message; | ||
| return ( | ||
| `[html-rspack-plugin]: ` + | ||
| (err.stack || `${err.name}: ${err.message}`) | ||
| ); | ||
| } | ||
| return err; | ||
| } | ||
| }, | ||
| }; | ||
| }; |
+1
-1
| { | ||
| "name": "html-rspack-plugin", | ||
| "version": "6.1.5", | ||
| "version": "6.1.6", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Simplifies creation of HTML files to serve your Rspack bundles", |
109959
0.06%2569
0.12%