Version
5.4.1
Link to Minimal Reproduction
https://jsfiddle.net/Eloy97/s6ctu3fw/4/
Steps to Reproduce
The test is carried out with an application in ReactJS and with another that is Vite + ReactJS.
Current Behavior
The chart behaves as expected with series.labels Layout: {hide Overlap: true} when you run the yarn build, in production the chart displays differently.

Expected Behavior
The chart behaves as expected with series.labels Layout: {hide Overlap: true} on development

Environment
- OS: Ubuntu 20.04.4 LTS
- Browser: Chrome Versión 110.0.5481.100 (Build oficial) (64 bits)
- Framework: "vite": "^4.1.0"
Any additional comments?
No response