From fc44599c0897a2a60721e8f228fbe6e7e1c492da Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 17 Oct 2025 20:11:19 +0200 Subject: [PATCH] remove now useless Rspack fix for Mermaid ELK layout --- packages/docusaurus-theme-mermaid/src/index.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/docusaurus-theme-mermaid/src/index.ts b/packages/docusaurus-theme-mermaid/src/index.ts index 288000902b..622c6b2ef7 100644 --- a/packages/docusaurus-theme-mermaid/src/index.ts +++ b/packages/docusaurus-theme-mermaid/src/index.ts @@ -49,18 +49,6 @@ export default async function themeMermaid(): Promise> { ), }), ], - - // Workaround for weird Rspack/SWC issue - // See https://github.com/facebook/docusaurus/issues/11430 - resolve: { - alias: { - ...(elkLayoutEnabled - ? {} - : { - '@mermaid-js/layout-elk': false, - }), - }, - }, }; }, };