-
Notifications
You must be signed in to change notification settings - Fork 49
patch require("react-dom/server.edge")
calls in pages.runtime.prod.js
so that they are try-catch
ed
#235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
….js` so that they are `try-catch`ed
🦋 Changeset detectedLatest commit: 4bdbc21 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
packages/cloudflare/src/cli/build/patches/to-investigate/wrangler-deps.ts
Show resolved
Hide resolved
packages/cloudflare/src/cli/build/patches/to-investigate/wrangler-deps.ts
Outdated
Show resolved
Hide resolved
packages/cloudflare/src/cli/build/patches/to-investigate/wrangler-deps.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good!
A few nits ;)
wrap
require("react-dom/server.edge")
calls inpages.runtime.prod.js
intry-catch
es so that esbuild won't fail when encountering them, this doesn't guarantee that things won't blow up at runtime thoughfixes #119