-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment Variables don't load if there is a number in the name #14432
Comments
The key is split like this: |
Actually this has already been fixed upstream (to cc: @pi0 - we don't seem to have 0.3.0 on npm despite unjs/scule@91fd6ab |
Thanks for reporting @akeemphilbert and investigation @danielroe ❤️ scule 3 is released with fix and also updated nitro which was using it. With the current (buggy) version, you can override with I will updated this issue accordingly with final fixed behavior and naming. |
Latest behaviour is that we ignore numbers for case changing. So you would override @pi0 shall we close this issue now, or are you planning on making further changes? |
Environment
Darwin
v16.15.0
3.0.0-rc.5
yarn@1.22.15
vite
ssr
,css
,build
,vite
,runtimeConfig
-
-
Reproduction
https://github.com/akeemphilbert/nuxt-issue-reproduction
Describe the bug
If a public runtime configuration name has a number in it (e.g. api1Base) then the corresponding environment variable does not load (
NUXT_PUBLIC_API1_BASE
)Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: