Revert webpack bundling layer changes for middleware/pages (#66049)
This reverts the below changes to avoid a breaking change in pages with importing `react-dom/server` as this is disallowed in `app` but shouldn't be in `pages`. Revert "Bundle the installed react for middleware (#65811)" Revert "Error in build for middleware when import client-only (#65792)" This reverts commit fdd8f0c6. This reverts commit 082072ca. x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1716305493514869)
Showing
Please
register
or
sign in
to comment