Revert multicast HMR registry to a direct globalThis assignment
With a single shared NodeJsChunkingContext there is exactly one server
runtime file, so the __turbopack_server_hmr_handlers__ Map and its
chunkPrefix-based routing dispatcher are no longer needed.
Replace with a direct assignment:
globalThis.__turbopack_server_hmr_apply__ = __turbopack_server_hmr_apply__
Remove the corresponding Map reset from hot-reloader-turbopack.ts and
the type declaration from nodejs-globals.d.ts.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment