chore: Rename lazy loaded diagram definitions

This commit is contained in:
Sidharth Vinod 2023-02-19 14:58:55 +05:30
parent 8363552c3a
commit 57fd3e586a
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
6 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const detector: DiagramDetector = (txt: string, config?: MermaidConfig): boolean
};
const loader = async () => {
const { diagram } = await import('./diagram-definition.js');
const { diagram } = await import('./flowchart-elk-definition.js');
return { id, diagram };
};

View File

@ -6,7 +6,7 @@ const detector = (txt: string) => {
};
const loader = async () => {
const { diagram } = await import('./diagram-definition.js');
const { diagram } = await import('./mindmap-definition.js');
return { id, diagram };
};

View File

@ -7,7 +7,7 @@ const detector = (txt: string) => {
};
const loader = async () => {
const { diagram } = await import('./diagram-definition.js');
const { diagram } = await import('./timeline-definition.js');
return { id, diagram };
};