2 people reported

All time, since Aug 21.

Exports dropped with export *

“Under vitest on Bun the module namespace has the export * names and default, but not z — the re-exported namespace binding is dropped.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/5831/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Explicit exports dropped alongside export * under Vite SSR. A module that also does export * from loses its export { … } and export default under vitest or Vite's SSR transform on Bun.

Is this your bug?

File my report
Where
Vite SSR transform
Error text
typeof z: undefined | 'z' in ns: false
Versions
1.4.0 to 1.4.4. Still reported on the newest version, 1.4.4.
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. vitest under bun drops re-exported namespace binding (import * as z; export { z }) — zod's z is undefined#46532
  2. Vite SSR transform drops a module's explicit exports when it also does export *#39866

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.