I am using plotly.js for charts and the only chart I’m using is bar chart from it. When I looked at the bundle size after build I see plotly.js is taking up of 10.33 MB which is huge and that’s causing heap memory issues. How can I reduce the size or custom import in VITE type script REACT app.
Any help would be greatly appreciated ?