Closed chacha912 closed 6 days ago
Description:
When running npm run dev or npm run build, a deprecation warning is displayed regarding the CJS build of Vite's Node API.
npm run dev
npm run build
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.
Why:
The warning suggests switching from the CJS build to ESM.
Description:
When running
npm run dev
ornpm run build
, a deprecation warning is displayed regarding the CJS build of Vite's Node API.Why:
The warning suggests switching from the CJS build to ESM.