You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
运行项目后,仍然提示: 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.
经过排查,发现问题出现在 vite-plugin-mock 上。
虽然不影响功能,但是还是想消除警告,请问该如何解决?
The text was updated successfully, but these errors were encountered:
我将项目从 vite 4 升级到了 vite 5,也按照官方更改了我的项目:
运行项目后,仍然提示:
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.
经过排查,发现问题出现在 vite-plugin-mock 上。
虽然不影响功能,但是还是想消除警告,请问该如何解决?
The text was updated successfully, but these errors were encountered: