Open itag-tech opened 1 year ago
In a Vite 4.0.1 project, I encountered the following error.
My code (useAircallDialer.tsx)
After a few hours, the only solution we found was to add to your Vite configuration :
export default defineConfig({ build: { commonjsOptions: { include: [] }, }, optimizeDeps: { disabled: false, }, }
I am writing this here to prevent
In a Vite 4.0.1 project, I encountered the following error.![image](https://user-images.githubusercontent.com/89590878/220971617-8cc8eeff-5071-46ea-9b63-b8df56c3c136.png)
My code (useAircallDialer.tsx)![image](https://user-images.githubusercontent.com/89590878/220975762-36418a7c-c526-4d04-9648-3c18f53ac8ec.png)
After a few hours, the only solution we found was to add to your Vite configuration :
I am writing this here to prevent