Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jamonholmgren
Copy link
Member

This tweaks the metro config to add support for .cjs so we support Firebase.js out of the box with no other config changes.

Also adds some comments for inline requires.

@jamonholmgren jamonholmgren requested a review from frankcalise May 22, 2024 23:00
Copy link
Contributor

@frankcalise frankcalise left a comment

Choose a reason for hiding this comment

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

@jamonholmgren I think experimentalImportSupport: false is just the default value. It wasn't specifically false for any reason other than we grabbed both values when setting inlineRequires to true, more just about being explicit.

We can document the comment that way or just remove the line altogether

I plan on merging this with Expo 51 and a few others, so once you remove the line or document it, feel free to merge it skipping CI so we can bundle them all together (or I can handle it, just LMK)

@jamonholmgren jamonholmgren merged commit 7544fac into master May 29, 2024
@jamonholmgren jamonholmgren deleted the metro-refinement branch May 29, 2024 00:52
infinitered-circleci pushed a commit that referenced this pull request May 29, 2024
# [9.7.0](v9.6.3...v9.7.0) (2024-05-29)

### Bug Fixes

* **boilerplate:** fix deep link not working with navigation persist ([#2679](#2679) by [@vanenshi](https://github.com/vanenshi)) ([a0cd8ce](a0cd8ce))
* **cli:** better support for yarn 2+ ([#2684](#2684) by [@frankcalise](https://github.com/frankcalise) and [@morganick](https://github.com/morganick)) ([e38a02c](e38a02c))
* **metro:** Add support for cjs extension in metro.config.js ([#2689](#2689) by [@jamonholmgren](https://github.com/jamonholmgren)) ([7544fac](7544fac))

### Features

* **boilerplate:** upgrade to Expo SDK 51 ([#2683](#2683) by [@frankcalise](https://github.com/frankcalise)) ([e0f3aa8](e0f3aa8)), closes [#2692](#2692)
@infinitered-circleci
Copy link
Collaborator

🎉 This PR is included in version 9.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants