feat: dynamically load mermaid.js

This commit is contained in:
Shirasawa
2025-09-16 09:43:03 +00:00
parent d041d58bb6
commit db05e34736
4 changed files with 22 additions and 40 deletions
-1
View File
@@ -1,7 +1,6 @@
<script lang="ts">
import { v4 as uuidv4 } from 'uuid';
import { toast } from 'svelte-sonner';
import mermaid from 'mermaid';
import { PaneGroup, Pane, PaneResizer } from 'paneforge';
import { getContext, onDestroy, onMount, tick } from 'svelte';