Turbopack: don't generate next-server.js.nft.json with adapters#93684
Turbopack: don't generate next-server.js.nft.json with adapters#93684
Conversation
| @@ -0,0 +1,4 @@ | |||
| /** @type {import("next").NextConfig} */ | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
nextConfig provided on "createNext()" and as a file "next.config.js", use one or the other to continue
There was a problem hiding this comment.
@lukesandberg Thanks for confirming — that's exactly the error the suggestion above addresses. The fix moves the output: 'standalone' setting into next.config.js via an env var (NEXT_OUTPUT_MODE), consistent with how adapterPath already uses NEXT_ADAPTER_PATH.
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles
Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📎 Tarball URLCommit: a60a1de |
Failing test suitesCommit: a60a1de | About building and testing Next.js
Expand output● next-server-nft › with output:standalone › should not trace too many files in next-server.js.nft.json
Expand output● next-server-nft › with output:standalone › should not trace too many files in next-server.js.nft.json |
lukesandberg
left a comment
There was a problem hiding this comment.
vade comment is on point

Adapters don't read these files.
Also added a snapshot test similar to the existing ones to not regress on function size