remove now useless Rspack fix for Mermaid ELK layout

This commit is contained in:
sebastien 2025-10-17 20:11:19 +02:00
parent 3ead02cb64
commit fc44599c08

View File

@ -49,18 +49,6 @@ export default async function themeMermaid(): Promise<Plugin<void>> {
),
}),
],
// Workaround for weird Rspack/SWC issue
// See https://github.com/facebook/docusaurus/issues/11430
resolve: {
alias: {
...(elkLayoutEnabled
? {}
: {
'@mermaid-js/layout-elk': false,
}),
},
},
};
},
};