mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
remove now useless Rspack fix for Mermaid ELK layout
This commit is contained in:
parent
3ead02cb64
commit
fc44599c08
|
|
@ -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,
|
||||
}),
|
||||
},
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue