fixed some build warnings + dynamic imports
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user