Inconsistent import.meta.env.SSR
(false
on vmThreads
pool and true
on other pools)
#5562
Closed
6 tasks done
Labels
feat: vm pool
Issues related to VM pool
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
While making a PR #5561, I just found
import.meta.env.SSR
works differently onvmThreads
.It looks like console is not working on vmThreads, so I needed to use
--disable-console-intercept
here.Reproduction
https://github.com/hi-ogawa/reproductions/tree/main/vitest-env
vmThreads
doesn't seem to run on StackblitzSystem Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: