mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Metadata routes are just `route.ts`\-s in diguise. Treat them the same regarding the layer (`app-route`) and whether to emit client reference/server actions manifests for them (= don't). This fixes a panic: ``` thread 'tokio-runtime-worker' panicked at crates/next-api/src/dynamic_imports.rs:70:26: called `Option::unwrap()` on a `None` value note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` https://vercel.slack.com/archives/C05TH5T3DS8/p1755670936074369