Skip to content

Commit 2e13de2

Browse files
fix broken patchRequireReactDomServerEdge patch (#246)
1 parent 41c55a8 commit 2e13de2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/violet-zebras-notice.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/cloudflare": patch
3+
---
4+
5+
fix broken `patchRequireReactDomServerEdge` patch

packages/cloudflare/src/cli/build/patches/to-investigate/wrangler-deps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function patchRequireReactDomServerEdge(config: Config) {
182182
ReactDOMServer = require('react-dom/server.browser');
183183
}
184184
${parameterName}.exports = ReactDOMServer;
185-
}`.replace(/\ns*/g, " ")
185+
`.replace(/\ns*/g, " ")
186186
);
187187
});
188188

0 commit comments

Comments
 (0)