perf(charts): import chart components from @gpustack/core-ui/charts
Switch all echarts-based chart imports to the dedicated core-ui charts entry so echarts stays out of the synchronous entry bundle and loads only on chart routes. Requires @gpustack/core-ui with the ./charts export.
This commit is contained in:
@@ -11,9 +11,9 @@ import {
|
||||
HighlightCode,
|
||||
IconFont,
|
||||
ResizePanel,
|
||||
ScatterChart,
|
||||
useOverlayScroller
|
||||
} from '@gpustack/core-ui';
|
||||
import { ScatterChart } from '@gpustack/core-ui/charts';
|
||||
import { useIntl } from '@umijs/max';
|
||||
import { useMemoizedFn } from 'ahooks';
|
||||
import { Button, Checkbox, Form, Segmented, Spin, Tabs, Tooltip } from 'antd';
|
||||
|
||||
Reference in New Issue
Block a user