Fix SSR scope handling for switch-case declarations (
b59a73f)
Vite now treats switch discriminants and case blocks with the correct scoping rules during SSR transforms, so declarations inside a case no longer leak into the surrounding function scope. This fixes incorrect import shadowing behavior for let, function, and class declarations inside switch cases.
Preserve browser: false modules as undefined on property access (
4bfe8bb)
A resolve/playground regression test now covers the case where a browser: false mapped module is imported and a property is read from it. The change ensures the module behaves like production expectations instead of throwing when accessed.

