next.js
1b45163b - Exclude `next-js` condition from middleware, proxy, and instrumentation (#85321)

Commit
184 days ago
Exclude `next-js` condition from middleware, proxy, and instrumentation (#85321) These scopes aren't fully Next.js environments and can't access many Next.js APIs. In the future this might change but for now we will exclude the `next-js` condition when bundling for these entrypoints so that 3rd parties that target Next.js can do so with the expectation that regardless of what environment they are running in the full suite of Next.js libraries they support will work.
Author
Parents
Loading