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.
This is the repo that I'm trying.
What I did
- compared the behavior of removing/adding
createFromFetch
. - tried running webpack both npm-script style and node style that was referred for server components demo
- run server components demo and it worked well
What I'm expecting
- webpack runs successfully
- the client-side code can get chunk data from the server-side react.