Commit 7c328d5
authored
Limit scope of bun react-dom/server hack (#5532)
Some upstream js packages may have a legitimate need to use `react-dom/server`
on the client side, which is valid. To ensure this works, only force
`react-dom/server.node` for the entry.server.js where the bun/node issue
exists.1 parent 4a765ea commit 7c328d5
1 file changed
Lines changed: 27 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
6 | 27 | | |
7 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
8 | 33 | | |
9 | 34 | | |
10 | 35 | | |
| |||
30 | 55 | | |
31 | 56 | | |
32 | 57 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 58 | + | |
38 | 59 | | |
39 | 60 | | |
0 commit comments