react/scripts/rollup/validate
Sebastian Markbåge 0c89b160f6
[Flight] Add DebugInfo for Bundler Chunks (#34226)
This adds a "suspended by" row for each chunk that is referenced from a
client reference. So when you select a client component, you can see
what bundles will block that client component when loading on the
client.

This is only done in the browser build since if we added it on the
server, it would show up as a blocking resource and while it's possible
we expect that a typical server request won't block on loading JS.

<img width="664" height="486" alt="Screenshot 2025-08-17 at 3 45 14 PM"
src="https://github.com/user-attachments/assets/b1f83445-2a4e-4470-9a20-7cd215ab0482"
/>

<img width="745" height="678" alt="Screenshot 2025-08-17 at 3 46 58 PM"
src="https://github.com/user-attachments/assets/3558eae1-cf34-4e11-9d0e-02ec076356a4"
/>

Currently this is only included if it ends up wrapped in a lazy like in
the typical type position of a Client Component, but there's a general
issue that maybe hard references need to transfer their debug info to
the parent which can transfer it to the Fiber.
2025-08-18 11:34:00 -04:00
..
eslintrc.cjs.js [Flight] Add DebugInfo for Bundler Chunks (#34226) 2025-08-18 11:34:00 -04:00
eslintrc.cjs2015.js [Flight] Add DebugInfo for Bundler Chunks (#34226) 2025-08-18 11:34:00 -04:00
eslintrc.esm.js [Flight] Add DebugInfo for Bundler Chunks (#34226) 2025-08-18 11:34:00 -04:00
eslintrc.fb.js [Flight] Forward debugInfo from awaited instrumented Promises (#33415) 2025-06-04 00:49:03 -04:00
eslintrc.rn.js [Flight] Forward debugInfo from awaited instrumented Promises (#33415) 2025-06-04 00:49:03 -04:00
index.js [UMD] Remove umd builds (#28735) 2024-04-17 11:15:27 -07:00