Next.js project-level middleware.ts not detected in route mapping
Next.js project-level middleware.ts not detected in route mapping: a task in LegoFlow-SWE (Harbor dataset). Next.js applications can define middleware in a top‑level middleware.ts (or src/middleware.ts ) using a config.matcher to control which routes the middleware runs on. Our route mapping…
The task
Next.js applications can define middleware in a top‑level `middleware.ts` (or `src/middleware.ts`) using a `config.matcher` to control which routes the middleware runs on. Our route mapping system currently shows `middleware: []` for **all** Next.js routes because the existing extraction logic only looks for wrapper…
Part of Lego-X/LegoFlow-SWE.