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

Add documentation note about middleware and runtimes #58873

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

jpfifer
Copy link
Contributor

@jpfifer jpfifer commented Nov 24, 2023

At this time Middleware only supports the Edge runtime. This has caused confusion for users attempting to user Node.js only libraries in Middleware. This simply adds a note that the Node.js runtime cannot be used.

See Switchable Runtime for Middleware for more more information.

Adding this as I've been tripped up by this before, and having it in the documentation should make it easier for others to find.

At this time Middleware only supports the Edge runtime. This has caused confusion for users attempting to user Node.js only libraries in Middleware. This simply adds a note that the Node.js runtime cannot be used.
@jpfifer jpfifer requested review from a team as code owners November 24, 2023 17:09
@jpfifer jpfifer requested review from S3Prototype and StephDietz and removed request for a team November 24, 2023 17:09
@leerob leerob merged commit 3f20b46 into vercel:canary Dec 6, 2023
31 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants