vercel
next.js
BlogDocsChangelog

Exclude `next-js` condition from middleware, proxy, and instrumentation

#85321Merged
Comparing
gnoff:refine-next-js-condition
(
2718ee4
) with
canary
(
8cdd4ea
)
CodSpeed Performance Gauge
0%
Untouched
8
Skipped
12

Benchmarks

Skipped (12)

Passed

react-dom-client.development.js[tracing]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
+1%
407.6 ms404.3 ms
packages-bundle.js[full]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
1.3 s1.3 s
app-page-turbo.runtime.prod.js[full]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
779.3 ms778.7 ms
packages-bundle.js[tracing]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
1.1 s1.1 s
jsonwebtoken.js[full]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
367.7 ms367.7 ms
react-dom-client.development.js[full]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
463 ms463.4 ms
jsonwebtoken.js[tracing]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
325.2 ms325.5 ms
app-page-turbo.runtime.prod.js[tracing]
turbopack/crates/turbopack-ecmascript/benches/references.rs::references_benches::benchmark::references
CodSpeed Performance Gauge
0%
668.6 ms669.4 ms

Commits

Click on a commit to change the comparison range
Base
canary
8cdd4ea
+0.08%
Exclude `next-js` condition from middleware, proxy, and instrumentation 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.
2718ee4
6 days ago
by gnoff
© 2025 CodSpeed Technology
Home Terms Privacy Docs