next.js
85f92319 - Avoid bundling client-nodemodules used by `unstable_rethrow` in client-browser modules (#95196)

Commit
11 days ago
Avoid bundling client-nodemodules used by `unstable_rethrow` in client-browser modules (#95196) There are more client-node modules being bundled into `client-browser` which I'll fix in a followup (with codegen). Our internal `unstable-rethrow` will now have a version without suffix (unbundled or client-node) and a client-browser only version (`.browser`) that bundlers alias to for client-browser which will always be bundled. For the specific modules being removed from client-browser, check the second commit with the actual change. The first commit fixes the `browser-chunk` test to include `next/src/server` in a snapshot. Closes #95189
Author
Parents
Loading