next.js
8e8a86ee - Add alias for react-dom react-server condition (#63588)

Commit
1 year ago
Add alias for react-dom react-server condition (#63588) `react-dom` also contains a `react-server` condition that need to be picked up in RSC bundle layer, like what we did for react. This will ensures the server runtime smaller and you don't accidentally use the client apis on server side. Closes NEXT-2898 --------- Co-authored-by: Janka Uryga <lolzatu2@gmail.com>
Author
Parents
Loading