when i npm start I get this :
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vi
#Error with Vite
2 messages · Page 1 of 1 (latest)
2 messages · Page 1 of 1 (latest)
when i npm start I get this :
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vi
I just got the solution github from xaviergonz who commented 3 weeks ago :
PD: I just noticed that if I rename the file to vite.config.mts the error goes away.