-
Notifications
You must be signed in to change notification settings - Fork 155
refactor: patch NextServer#getMiddlewareManifest for Next >= 14 #892
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
Conversation
|
Coverage Report
File Coverage
|
commit: |
I think you can drop that |
Good point. I'll create a distinct PR for that for tracking purposes |
What about |
It doesn't look like they pulls deps? |
ea95c2c
to
9c743c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Thanks Nico! |
In Cloudflare we inline the middleware manifest but that is not needed.
If we patch
getMiddlewareManifest
for version >= 14 then we could skip the pacth in Cloudflare and just rely onreturn null;
Dropping the patch in cloudflare would not work with Next.js 14 as the patch is only applied for Next 15