next.js
f336bd6a - fix(turbopack): `react-dom/server` in rsc context (#61165)

Commit
1 year ago
fix(turbopack): `react-dom/server` in rsc context (#61165) ### What? Probably not the right solution, next.js disables the `react-server` import condition in there somehow I think ### Why? Resend uses `@react-email/render` which uses `renderToString` from `react-dom/server`. Unfortunately importing `react-dom/server` with the `react-server` import condition leads to a broken bundle (which seems like a bug in react?). Closes PACK-2243 Fixes #57936
Parents
Loading