build: use module

This commit is contained in:
iCrawl
2022-08-23 07:55:41 +02:00
parent b16ab8c69f
commit 8e4f77a63b
9 changed files with 27 additions and 35 deletions

View File

@@ -3,7 +3,7 @@ import { DocNodeKind, StandardTags } from '@microsoft/tsdoc';
import Link from 'next/link';
import { Fragment, ReactNode } from 'react';
import { PrismAsyncLight as SyntaxHighlighter } from 'react-syntax-highlighter';
import { vscDarkPlus } from 'react-syntax-highlighter/dist/cjs/styles/prism';
import vscDarkPlus from 'react-syntax-highlighter/dist/cjs/styles/prism';
import { BlockComment } from './BlockComment';
import type { DocBlockJSON } from '~/DocModel/comment/CommentBlock';
import type { AnyDocNodeJSON } from '~/DocModel/comment/CommentNode';