Fix warning message from Vite
Fix warning message from Vite when starting the project:
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
There is some discussion about this here: https://github.com/vitejs/vite/issues/15010