Closed toKnowMore closed 1 year ago
NODE_ENV=production is not supported in the .env file. Only NODE_ENV=development is supported to create a development build of your project. If you need to set process.env.NODE_ENV, you can set it in the Vite config instead
搜了一下,有的文说是vite要降级到3版本,有没有什么正常的解决办法?
能提供相关的环境版本信息吗
好的,我会马上处理
https://github.com/un-pany/v3-admin-vite/commit/2be53ddfc24c607305c295b5a220800225e61406
NODE_ENV=production is not supported in the .env file. Only NODE_ENV=development is supported to create a development build of your project. If you need to set process.env.NODE_ENV, you can set it in the Vite config instead
搜了一下,有的文说是vite要降级到3版本,有没有什么正常的解决办法?