Blaxzter
Blaxzter
NNuxt
Created by Blaxzter on 4/26/2024 in #❓・help
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.
1 replies