Skip to content

logging importable exports shows an empty object #5603

@threepointone

Description

@threepointone

What versions & operating system are you using?

"@cloudflare/vite-plugin": "^1.15.3",
"@cloudflare/workers-types": "^4.20251127.0",
"typescript": "^5.9.3",
"vite": "^7.2.4",
"wrangler": "^4.51.0"

Please provide a link to a minimal reproduction

https://github.com/threepointone/repro-vite-exports-bug

Describe the Bug

importable exports aren't logged with the module's exports (as specified in #5516). ctx.exports are ok and work as expected.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions