0

Webpack bundling is taken long time and finally failed when I add createFromFetch of react-server-dom-webpack/client. If I remove createFromFetch from the code, bundling is finished soon. After failed, dist dir has many bundler files.

enter image description here

This is the repo that I'm trying.

https://github.com/dhythm/ts-rsc-prisma/blob/c3bbe0d62335f9465bdaab0a40e24c7a99f0e53c/src/Root.client.tsx#L4

What I did

What I'm expecting

  • webpack runs successfully
  • the client-side code can get chunk data from the server-side react.
dhythm
  • 11
  • 2

0 Answers0