Skip to content

Detect metro.config.cjs for esm projects#519

Open
adambrgmn wants to merge 1 commit into
founded-labs:mainfrom
adambrgmn:adambrgmn/metro-config-cjs
Open

Detect metro.config.cjs for esm projects#519
adambrgmn wants to merge 1 commit into
founded-labs:mainfrom
adambrgmn:adambrgmn/metro-config-cjs

Conversation

@adambrgmn

@adambrgmn adambrgmn commented Feb 17, 2026

Copy link
Copy Markdown

Pull Request Template

Description:

This PR adds another file to check if a project uses uniwind instead of nativewind. If this gets merged the cli will also check for metro.config.cjs, a file-format that is required for projects being setup as native esm projects.

This is a very minor feature and I hope it is okey that I opened a PR before initiating a discussion! And huge thanks for the project, it is really helping me and my team.

Tested Platforms:

  • Web
  • iOS
  • Android

Affected Apps/Packages:

  • apps/docs
  • apps/showcase
  • apps/cli
  • packages/registry

Screenshots:

Notes:

Some lines were automatically formatted by prettier in my ide. Let me know if you want me to revert them. The interesting changes are on line 71.

@vercel

vercel Bot commented Feb 17, 2026

Copy link
Copy Markdown

@adambrgmn is attempting to deploy a commit to the React Native Reusables Team on Vercel.

A member of the Team first needs to authorize it.

@adambrgmn adambrgmn force-pushed the adambrgmn/metro-config-cjs branch from bf66f47 to 464430d Compare February 17, 2026 11:46

@mrzachnugent mrzachnugent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@adambrgmn Thanks for contributing!

@mrzachnugent mrzachnugent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you please fix the merge conflicts?

@adambrgmn adambrgmn force-pushed the adambrgmn/metro-config-cjs branch from 464430d to b7cdbdc Compare March 23, 2026 09:41
@adambrgmn adambrgmn force-pushed the adambrgmn/metro-config-cjs branch from b7cdbdc to 3ade906 Compare March 23, 2026 09:43
@adambrgmn

Copy link
Copy Markdown
Author

Could you please fix the merge conflicts?

@mrzachnugent done 👍 sorry for the delay, was caught up in work :)

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.

2 participants