Currently, react-native-wgpu .tar is quite heavy, 163 MB. The vast majority of that size are generated binaries for Android and iOS.
Unfortunately, this makes GitHub reject this .tar file if checked out into the repository (e.g. for use in Yarn Offline mirror that makes your project resilient to npm outages), as the maximum file size in GitHub is 100 MB.
Many packages deal with this issue (knowingly or not) by splitting shipped binaries into multiple packages, for example esbuild:
This would also open up other possibilities like selectively installing only these binaries that one is interested in, e.g. iOS only, significantly reducing bandwith needed to install the repository.
Currently, react-native-wgpu .tar is quite heavy, 163 MB. The vast majority of that size are generated binaries for Android and iOS.
Unfortunately, this makes GitHub reject this .tar file if checked out into the repository (e.g. for use in Yarn Offline mirror that makes your project resilient to npm outages), as the maximum file size in GitHub is 100 MB.
Many packages deal with this issue (knowingly or not) by splitting shipped binaries into multiple packages, for example esbuild:
This would also open up other possibilities like selectively installing only these binaries that one is interested in, e.g. iOS only, significantly reducing bandwith needed to install the repository.