Home Forums Chart Support Charts break on built/server for vite react app. Reply To: Charts break on built/server for vite react app.

#45064

@denzil,

Adding commonjsOptions: { transformMixedEsModules: true } to the build option of Vite config should fix this issue. Please refer to this Stack Overflow thread for more information about the same.

__
Sachin Bisht
Team CanvasJS