Skip to content

Commit 28598e1

Browse files
authored
Patch vite-plugin-html to stop getting the [log] prefix on tests (#1914)
patch vite-plugin-html to stop getting the stupid log prefix
1 parent 34eb478 commit 28598e1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

patches/vite-plugin-html+3.2.2.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/vite-plugin-html/dist/index.mjs b/node_modules/vite-plugin-html/dist/index.mjs
2+
index 5495ed8..357d10f 100644
3+
--- a/node_modules/vite-plugin-html/dist/index.mjs
4+
+++ b/node_modules/vite-plugin-html/dist/index.mjs
5+
@@ -339,7 +339,7 @@ function createMinifyHtmlPlugin({
6+
};
7+
}
8+
9+
-consola.wrapConsole();
10+
+// consola.wrapConsole();
11+
function createHtmlPlugin(userOptions = {}) {
12+
return [createPlugin(userOptions), createMinifyHtmlPlugin(userOptions)];
13+
}

0 commit comments

Comments
 (0)