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
Esbuild panics when transforming globalThis.process?.env.something with { define: { "globalThis.process.env": "{}" } } and this seems to be the cause of the issue on Vite vitejs/vite#15367.
I'm not sure what's the expected behavior (whether replace it or not since they don't exactly match syntactically), but I suppose panic is not expected to happen regardless.
The text was updated successfully, but these errors were encountered:
Esbuild panics when transforming
globalThis.process?.env.something
with{ define: { "globalThis.process.env": "{}" } }
and this seems to be the cause of the issue on Vite vitejs/vite#15367.Here is a playground link for a minimal repro:
I'm not sure what's the expected behavior (whether replace it or not since they don't exactly match syntactically), but I suppose panic is not expected to happen regardless.
The text was updated successfully, but these errors were encountered: