fixed some build warnings + dynamic imports

This commit is contained in:
2026-05-14 17:34:53 +02:00
parent 70aa8b4b3e
commit 95829f04b2
3 changed files with 28 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { Marked } from 'marked';
import markedKatex from 'marked-katex-extension';
import { markedHighlight } from 'marked-highlight';
import { gfmHeadingId } from 'marked-gfm-heading-id';
import hljs from 'highlight.js';
import hljs from 'highlight.js/lib/common';
import DOMPurify from 'isomorphic-dompurify';
function escapeHtml(s: string): string {