You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@riley-pearce-airteam this is not specific to Payload, this happens in a new blank NextJS project after adding middleware.
You can test this out by running pnpm create-next-app@rc --empty and then adding your middleware file the src directory. Be sure to remove .next folder before re-building to see the results.
Link to reproduction
https://github.com/riley-pearce-airteam/payload-middleware-issue
Payload Version
3.0.0-beta.55
Node Version
20.15.0
Next.js Version
15.0.0-rc.0
Describe the Bug
When a simple Next.js middleware file is present, warnings are present in the console while running
pnpm build
.Reproduction Steps
middleware.ts
file.pnpm build
.Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: