Skip to content

fix(rsc): align export async function checks#1169

Open
james-elicx wants to merge 2 commits intovitejs:mainfrom
james-elicx:james/align-async-func
Open

fix(rsc): align export async function checks#1169
james-elicx wants to merge 2 commits intovitejs:mainfrom
james-elicx:james/align-async-func

Conversation

@james-elicx
Copy link
Copy Markdown

Description

The wrap-export and proxy-export files were both checking async functions slightly differently. The proxy-export file's version was less permissive than the wrap-export one. This changes them to share the same logic (and adds class expressions as well at the same time).

I believe this was the cause of cloudflare/vinext#722 and should potentially fix it.

@james-elicx james-elicx changed the title fix: align export async function checks fix(rsc): align export async function checks Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant