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

Exclude "Example" directory when packaging #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abejfehr
Copy link

@abejfehr abejfehr commented Aug 10, 2022

This is by far the largest module in our app, weighing in at ~215MB in the node_modules folder.

Upon further inspection, it's because an entire RN app is included along with it in the "Example" directory, which isn't needed for install.

This PR adds the "Example" directory to the .npmignore file so it's not included in the published package.

@abejfehr
Copy link
Author

Sorry to tag you directly, but @jedt I think you merged the last PR so I just wanted to make sure you were aware of this one as well.

Thank you!

@abejfehr
Copy link
Author

In the meantime, I'm getting around this with yarn autoclean

@Inbal-Tish Inbal-Tish mentioned this pull request Mar 28, 2023
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