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

Load library code from the src directory in react-native #1263

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MatiPl01
Copy link

@MatiPl01 MatiPl01 commented Jul 9, 2024

Description

This PR adds just "react-native" entry in the package.json file that allows library code to be loaded from the included src directory instead of the transpiled JS code in the dist directory.

It just will use source files when possible. It makes library patching much easier because changes in the source code are necessary (instead of the processed JS files).

@MatiPl01 MatiPl01 marked this pull request as ready for review July 9, 2024 13:36
@MatiPl01
Copy link
Author

MatiPl01 commented Jul 9, 2024

I have signed the CLA!

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.

1 participant