alibaba / BizCharts

Powerful data visualization library based on G2 and React.
http://bizcharts.net/products/bizCharts
6.17k stars 671 forks source link

Reduce bundle size when import with webpack #821

Open s123121 opened 5 years ago

s123121 commented 5 years ago

The entire bundle for bizcharts is too big. Is there any way to import individual component? For example import { Chart, Axis, Tooltip, Geom } from 'bizcharts' only import necessary components

jondavidjohn commented 5 years ago

I built a tool to help you analyze webpack bundles for size regressions, and report them directly to GitHub PRs. It's free for open source, so it might be worth checking out and helpful in this scenario.

https://packtracker.io

image

stefanfuchs commented 4 years ago

Please check #1085 for a solution