#vite build uses the dev dependencies of react
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Found out I had to add a NODE_ENV=production variable in my .env file, but couldn't find anything about it in the documentation? Is it the proper fix? Did I miss it in the doc?
Btw, I was using a custom --mode, I know webpack hardcode the value with the default build script. I guess there is something similar in vite?