Unverified Commit 09851e20 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Revert "Ensure _middleware is consistent in adapter for name/id" (#89624)

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 vercel/next.js#89559
parent 5ac04218
...@@ -749,7 +749,7 @@ export async function handleBuildComplete({ ...@@ -749,7 +749,7 @@ export async function handleBuildComplete({
} }
}) })
output.pathname = '/_middleware' output.pathname = '/_middleware'
output.id = '/_middleware' output.id = page.name
outputs.middleware = output outputs.middleware = output
} else { } else {
currentOutputs.push(output) currentOutputs.push(output)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment