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

feat(expo): support cjs and mjs #21408

Merged
merged 5 commits into from
Feb 8, 2024

Conversation

yzhe554
Copy link
Contributor

@yzhe554 yzhe554 commented Jan 30, 2024

Current Behavior

The init script won't support cjs and mjs by default

Expected Behavior

There are some third party libraries are using cjs and mjs, for user's benefits, support cjs and mjs by default.

Related Issue(s)

Fixes #

@yzhe554 yzhe554 requested a review from a team as a code owner January 30, 2024 08:06
@yzhe554 yzhe554 requested a review from xiongemi January 30, 2024 08:06
Copy link

vercel bot commented Jan 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Feb 8, 2024 8:53am

@xiongemi
Copy link
Collaborator

xiongemi commented Feb 1, 2024

@yzhe554 besides the migration script, could you update the metro.config file at packages/expo/src/generators/application/files/metro.config.js.template and packages/react-native/src/generators/application/files/app/metro.config.js.template?

@yzhe554 yzhe554 force-pushed the feature/support-cjs-and-mjs branch from 19140fc to c11c3db Compare February 5, 2024 02:13
@yzhe554
Copy link
Contributor Author

yzhe554 commented Feb 5, 2024

@yzhe554 besides the migration script, could you update the metro.config file at packages/expo/src/generators/application/files/metro.config.js.template and packages/react-native/src/generators/application/files/app/metro.config.js.template?

Thanks @xiongemi , it's updated.

@meeroslav meeroslav enabled auto-merge (squash) February 8, 2024 08:48
@meeroslav meeroslav merged commit bf45f08 into nrwl:master Feb 8, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Feb 9, 2024
Co-authored-by: Miroslav Jonaš <[email protected]>
(cherry picked from commit bf45f08)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants