Open glend1 opened 1 year ago
I got the same issue, last 3 month ago my app success do production build without any issue but for now i don't know its goes error on production because chart type error. currently i solve this issue with my old lock files backup.
Would you like to work on a fix?
Current and expected behavior
the chart fails to render on production builds it gives an error that says the chart type isn't registered. however it passes typescript checking.
Reproduction
https://codesandbox.io/s/github/reactchartjs/react-chartjs-2/tree/master/sandboxes/chart/multitype?from-embed=&file=/App.tsx
chart.js version
4.4
react-chartjs-2 version
5.2
Possible solution
No response