Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ESM-compatible web framework SSR function #5540

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

austincrim
Copy link
Contributor

Description

Web frameworks like SvelteKit and Astro are ESM-first and break with the current generated SSR function that uses require and exports.

Will unblock #5527 and #5525.

Code adapted from #5248.

Scenarios Tested

Tested with the WIP Astro and SvelteKit branches.

@jamesdaniels jamesdaniels enabled auto-merge (squash) February 21, 2023 23:58
@jamesdaniels jamesdaniels merged commit c05b9cd into master Feb 22, 2023
@austincrim austincrim deleted the austincrim_frameworks-esm branch March 16, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants