You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From this pr which cause process.env.FOO is undefined in nodejs environment and we must use process.env['FOO'] to get the right value because process.env will be replaced with ({})
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Describe the bug
From this pr which cause
process.env.FOO
is undefined in nodejs environment and we must useprocess.env['FOO']
to get the right value becauseprocess.env
will be replaced with({})
Reproduction
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: