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

chore: Ignore the Android build/ folder #477

Merged
merged 2 commits into from
Aug 12, 2018

Conversation

hawkrives
Copy link
Contributor

Description

The currently published nom package (v0.22.3) is 28.2 MB, unpacked, because it includes a copy of the generated Android build files. By ignoring the folder android/build in .gitignore, npm will also ignore that folder, and the build artifacts will no longer wind up on in the npm package.

Before: 28.2 MB
After: 187.9 kB

Compatibility

OS Implemented
iOS
Android
Windows

Checklist

  • I have tested this on a device/simulator for each compatible OS (Android).
  • (N/A) I added the documentation in README.md.
  • I mentionned this change in CHANGELOG.md.

The currently published nom package (v0.22.3) is 28.2 MB, unpacked, because it includes a copy of the generated Android build files. By ignoring the folder `android/build` in `.gitignore`, npm will also ignore that folder, and the build artifacts will no longer wind up on in the npm package.
@machour
Copy link
Contributor

machour commented Aug 12, 2018

Thank you so much for catching this!

@machour machour changed the title Ignore the Android build/ folder chore: Ignore the Android build/ folder Aug 12, 2018
@machour machour merged commit d550e27 into react-native-device-info:master Aug 12, 2018
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