ant-design-charts icon indicating copy to clipboard operation
ant-design-charts copied to clipboard

bundle size huge, including whole @antv in bundle

Open neevany opened this issue 3 years ago • 5 comments

bundle size same in both cases below, I am using the latest version of umi to build.

import Column from "@ant-design/charts/es/plots/column"; import { Column } from "@ant-design/charts";

tried these https://charts.ant.design/guide/faq/

https://codesandbox.io/s/clever-gould-ls3fl?file=/App.tsx

neevany avatar Aug 05 '21 09:08 neevany

At present, only plots and graphs are classified, and the bottom layer is still the full package, which will be optimized later.

lxfu1 avatar Aug 06 '21 01:08 lxfu1

image

dimbslmh avatar Sep 03 '21 09:09 dimbslmh

At present, only plots and graphs are classified, and the bottom layer is still the full package, which will be optimized later.

how about the optimization?

caoqiqi avatar Nov 16 '21 02:11 caoqiqi

When can it be solved?

liu333333 avatar Jun 20 '22 11:06 liu333333

This would be nice to see an optimization for

mtoneil avatar Jul 11 '22 14:07 mtoneil

Try the V2 version

lxfu1 avatar Nov 23 '23 01:11 lxfu1