Share a single NodeJsChunkingContext Vc across all Node.js server endpoints
Remove the client_assets: bool parameter from server_chunking_context —
all Node.js server endpoints (pages, routes, metadata, instrumentation,
middleware) now share the same NodeJsChunkingContext instance
(get_server_chunking_context_with_client_assets). This produces a single
[turbopack]_runtime.js file instead of two, eliminating the need for the
multicast __turbopack_server_hmr_handlers__ dispatcher.
The process_client_assets flag that controls whether client asset manifests
and browser bundles are emitted remains separate and unchanged.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment