Ensure _middleware is consistent in adapter for name/id#89559
Merged
Conversation
mischnic
approved these changes
Feb 5, 2026
Collaborator
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
|
bgub
pushed a commit
to bgub/next.js
that referenced
this pull request
Feb 6, 2026
Makes sure we don't use both `_middleware` and `middleware` naming for the output. Found in vercel#89522 we were using both.
ijjk
added a commit
that referenced
this pull request
Feb 7, 2026
) This is causing conflicts as the name value is relied on too much since it can differ heavily e.g. for `src` dir and if not. x-ref: https://github.com/vercel/next.js/actions/runs/21767409431/job/62826336354#step:34:240 Reverts #89559
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes sure we don't use both
_middlewareandmiddlewarenaming for the output.Found in #89522 we were using both.