ESM chunk list: export data instead of using globals
In ESM mode, HMR chunk list files now export their data as
`export default { chunkList: { chunks, source } }` instead of
pushing to `globalThis[TURBOPACK_CHUNK_LISTS]`. The ESM runtime
backend detects this shape in doLoadChunk and calls registerChunkList
directly, avoiding global state for chunk list registration.
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
This diff is collapsed.
Please
register
or
sign in
to comment