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
It's fine that the string"process.env.NODE_ENV" is auto replaced, but some of its unexpected behavior isn't mentioned in the doc, and causes some surprises. I think it'd be great to explain it a bit more on this page.
Reproduction
alert("process.env.NODE_ENV");// SyntaxError: missing ) after argument list
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
It's fine that the string
"process.env.NODE_ENV"
is auto replaced, but some of its unexpected behavior isn't mentioned in the doc, and causes some surprises. I think it'd be great to explain it a bit more on this page.Reproduction
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: