Skip to content

Commit

Permalink
fix broken patchRequireReactDomServerEdge patch (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz authored Jan 10, 2025
1 parent 41c55a8 commit 2e13de2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/violet-zebras-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@opennextjs/cloudflare": patch
---

fix broken `patchRequireReactDomServerEdge` patch
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function patchRequireReactDomServerEdge(config: Config) {
ReactDOMServer = require('react-dom/server.browser');
}
${parameterName}.exports = ReactDOMServer;
}`.replace(/\ns*/g, " ")
`.replace(/\ns*/g, " ")
);
});

Expand Down

0 comments on commit 2e13de2

Please sign in to comment.