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
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
In v2.7.4,
import.meta.env
doesn't passtsc --noEmit
out of the box, due to some typing errors.v2.7.3 didn't have this issue.
Reproduction
↑ works.
Then add in
main.ts
:Then build again:
This time it'll fail with error:
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: