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

Support reading from browser streams in server-side export #617

Open
notramo opened this issue Dec 1, 2023 · 0 comments
Open

Support reading from browser streams in server-side export #617

notramo opened this issue Dec 1, 2023 · 0 comments

Comments

@notramo
Copy link

notramo commented Dec 1, 2023

In SvelteKit, the event.request.body is a web-interoperable stream. However, when this package is imported in a SvelteKit project running in Bun, it tries to load the NodeJS stuff.

I recommend moving the NodeJS-related legacy stuff into a file-type/node package, as the majority is moving towards modern standards with runtimes like Bun and Deno which support WinterCG stuff, and SSR frameworks like SvelteKit also support it.

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

No branches or pull requests

1 participant