Skip to content

Commit c8fd2d0

Browse files
committed
plugin: ignore large binaries from git but not npm
1 parent 0563175 commit c8fd2d0

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

.gitignore

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
node_modules/
99
npm-debug.log
1010
yarn-error.log
11-
11+
12+
# Large binaries
13+
android/libnode/bin/*/libnode.so
14+
ios/NodeMobile.framework/NodeMobile
1215

1316
# Xcode
1417
#
@@ -29,7 +32,7 @@ DerivedData
2932
*.ipa
3033
*.xcuserstate
3134
project.xcworkspace
32-
35+
3336

3437
# Android/IntelliJ
3538
#
@@ -43,4 +46,3 @@ local.properties
4346
buck-out/
4447
\.buckd/
4548
*.keystore
46-

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Don't ignore large binaries
2+
!android/libnode/bin/*/libnode.so
3+
!ios/NodeMobile.framework/NodeMobile
-49.9 MB
Binary file not shown.
-49 MB
Binary file not shown.

android/libnode/bin/x86_64/libnode.so

-54.7 MB
Binary file not shown.

ios/NodeMobile.framework/NodeMobile

-50.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)