Nuxt Bug Reproduction
Keypoints during reproduction of bug:
- App should extend a layer which should be a node module
- Installed layer should have
runtimeConfig
defined - App should have a
runtimeConfig
value which isundefined
value during build (for exampleapiToken
)
If all of these conditions are not met, server will be built as expected.
But if they are met, server will not read NUXT_API_TOKEN
at start-up to set apiToken
value.
Added pnpm start
script to start server with environment variables set.