Home › Forums › Chart Support › REFERENCE ERROR › Reply To: REFERENCE ERROR
Max Fey,
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. Please take a look at this link for a working sample that’s deployed in vercel and checkout this Github repository for the project.
commonjsOptions: { transformMixedEsModules: true }
— Vishwas R Team CanvasJS