Skip to content
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

lets play nice with react-native(metro) #1344

Closed
wants to merge 2 commits into from

Conversation

bmatusiak
Copy link
Collaborator

expo/react-native does not like the use of require(var) so the work around is to re name it

@bmatusiak
Copy link
Collaborator Author

also @amark we need to run a unbuild update if possible ( look like src folders are out of date)
let me know if you want me to run that.

@amark
Copy link
Owner

amark commented Dec 15, 2023

😭 😭 😭 6 years ago this was originally how we fixed things, but then it broke so we switched to 5 other approaches over each half year. So I always get nervous about these...by chance have a checklist of this working in:

  • old browser
  • new browsers
  • nodejs
  • webworkers
  • native
  • bun
  • webpack, rollup, babel, ...
  • boa, quickjs, ...
  • Heroku, etc.
  • Next.js SSR of Browser

@bmatusiak
Copy link
Collaborator Author

bmatusiak commented Dec 15, 2023

this may be no longer needed, because of #1254

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bmatusiak bmatusiak closed this Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants