mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-27 08:04:11 +01:00
fix: dynamic import
This commit is contained in:
@@ -36,7 +36,7 @@ const contentLoaded = function () {
|
||||
document.getElementsByTagName('body')[0].appendChild(div);
|
||||
}
|
||||
|
||||
graphObj.mermaid.extraDiagrams = ['/mermaid-mindmap-detector.core.mjs'];
|
||||
graphObj.mermaid.extraDiagrams = ['/mermaid-mindmap-detector.esm.mjs'];
|
||||
|
||||
mermaid2.initialize(graphObj.mermaid);
|
||||
mermaid2.init();
|
||||
|
||||
Reference in New Issue
Block a user