refactor: route low-cost next modules through compat re-exports (#33622)

This commit is contained in:
yyh
2026-03-18 10:37:29 +08:00
committed by GitHub
parent bbe975c6bc
commit d7f70f3c0f
34 changed files with 66 additions and 33 deletions

View File

@ -1,5 +1,4 @@
import ReactEcharts from 'echarts-for-react'
import dynamic from 'next/dynamic'
import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'
import SyntaxHighlighter from 'react-syntax-highlighter'
import {
@ -12,6 +11,7 @@ import MarkdownMusic from '@/app/components/base/markdown-blocks/music'
import ErrorBoundary from '@/app/components/base/markdown/error-boundary'
import SVGBtn from '@/app/components/base/svg'
import useTheme from '@/hooks/use-theme'
import dynamic from '@/next/dynamic'
import { Theme } from '@/types/app'
import SVGRenderer from '../svg-gallery' // Assumes svg-gallery.tsx is in /base directory