diff --git a/vscode-patches/0104-fix-minify-mermaid-webview.patch b/vscode-patches/0104-fix-minify-mermaid-webview.patch new file mode 100644 index 00000000..46e2fef2 --- /dev/null +++ b/vscode-patches/0104-fix-minify-mermaid-webview.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= +Date: Mon, 24 Aug 2026 11:53:51 +0200 +Subject: [PATCH] fix: minify mermaid webview + +--- + extensions/mermaid-markdown-features/esbuild.webview.mts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/extensions/mermaid-markdown-features/esbuild.webview.mts b/extensions/mermaid-markdown-features/esbuild.webview.mts +index 61e543cfb2c..e26838cd053 100644 +--- a/extensions/mermaid-markdown-features/esbuild.webview.mts ++++ b/extensions/mermaid-markdown-features/esbuild.webview.mts +@@ -39,7 +39,7 @@ const mermaidMarkdownBuildOptions: Partial = { + '.ttf': 'dataurl', + }, + plugins: [cssTextPlugin], +- minify: false, ++ minify: true, + }; + + await Promise.all([