mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This ensures we apply the middleware layer when in the node runtime so that `server-only` imports are properly handled. Also ensures our test suite includes this condition for `edge` and `node` runtimes. Fixes: https://github.com/vercel/next.js/issues/75904