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 warning for edge with force-static #50182

Merged
merged 2 commits into from May 22, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented May 22, 2023

Currently the edge runtime does not support static generation so this adds a warning when force-static is leveraged with edge-runtime as it will cause unexpected behavior. Support is being investigated so this isn't a hard error at the moment.

x-ref: slack thread

@kodiakhq kodiakhq bot merged commit a163394 into vercel:canary May 22, 2023
93 checks passed
@ijjk ijjk deleted the update/add-edge-static-warn branch May 22, 2023 21:39
hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
Currently the edge runtime does not support static generation so this adds a warning when `force-static` is leveraged with `edge-runtime` as it will cause unexpected behavior. Support is being investigated so this isn't a hard error at the moment. 

x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1684783403551589)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 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

2 participants