You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using react-echarts with Vite and I wanted to look into the use prop to reduce bundle size, but nothing I do seems to have an effect on the bundle size.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
We are using
react-echarts
with Vite and I wanted to look into theuse
prop to reduce bundle size, but nothing I do seems to have an effect on the bundle size.Do you happen to have an example of a setup that successfully tree-shakes modules that are not in use? The result could be seen with https://github.com/KusStar/vite-bundle-visualizer
If not, I'll build a minimal repro case and see if I can share that. Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions