N
Nuxt7mo ago
Blaxzter

nuxt generate sets process.env.NODE_ENV to prerender after nuxt.config.ts

When i run nuxt generate and i print the process.env.NODE_ENV in the nuxt.config.ts it is as expected 'production' but when i call it in a pinia store it suddenly is 'prerender. Is there a reason why? I found this stale issue https://github.com/vueComponent/ant-design-vue/issues/7194 which seems to be the same problem. Not sure if its related.
GitHub
Nitropack should not override NODE_ENV when run command nuxt genera...
I have searched the issues of this repository and believe that this is not a duplicate. What problem does this feature solve? I am developing an SSG project using Nuxt and Ant Design Vue. When I ru...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server