Skip to content

fix: make sure react-native.config.json is shipped with each library Fixes #647 #648

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

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

johnf
Copy link
Contributor

@johnf johnf commented Oct 8, 2024

Summary

With the new introduction of a90142f#diff-4282562f42ade49c2eb46dee36bcbb7987322efec211330f48387a10e5514678R206 that adds includeGeneratedCode, react-native.config.js needs to be shipped with the NPM module to signal what directory to use.

Test plan

Tested react-native-vector-icons where I discovered this issue against my project.

@atlj atlj enabled auto-merge October 11, 2024 17:12
@atlj atlj added this pull request to the merge queue Oct 11, 2024
@atlj
Copy link
Collaborator

atlj commented Oct 11, 2024

LGTM Thanks for sending this!

Merged via the queue into callstack:main with commit 86fab42 Oct 11, 2024
27 of 29 checks passed
@migueldaipre
Copy link

Hey @johnf, @atlj.

Does the .json file exist? I think the correct one is .js, right? [Reference]

@johnf
Copy link
Contributor Author

johnf commented Oct 23, 2024

@migueldaipre You are right. Wasn't thinking straight after hours of debugging this. Should have copied and pasted it from my library!

Fixed in #659

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.

3 participants