Skip to content

fix(ssr): fix live binding of default export declaration and hoist exports getter#19842

Merged
sapphi-red merged 10 commits intovitejs:mainfrom
hi-ogawa:fix-export-default-live-binding
Apr 21, 2025
Merged

fix(ssr): fix live binding of default export declaration and hoist exports getter#19842
sapphi-red merged 10 commits intovitejs:mainfrom
hi-ogawa:fix-export-default-live-binding

Conversation

@hi-ogawa
Copy link
Copy Markdown
Contributor

@hi-ogawa hi-ogawa commented Apr 11, 2025

Description

Maybe this is an extreme nitpick, but in principle, "export default" should be also live binding and hoisted for the same reason as other normal exports.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: ssr p2-edge-case Bug, but has workaround or limited in scope (priority) trigger: preview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

export default function/class live binding doesn't work on Vite SSR

2 participants