Repository navigation
Size of npm libraries in node_modules #4292
mikeduminy
started this conversation in
General
Replies: 1 comment 2 replies
|
Our goal here is to use SPM to fix that problem long term. With SPM, we don't need to have these NPM dependencies anymore. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there 👋
Related: #1745
I'm trying to minimize the size of the yarn cache in CI. The
react-native-skia-<platform>packages are very heavy so I decided to strip away the unused platforms:apple-macosandapple-tvos. This worked to reduce the cache size but it failed when bundling due to the podspec checking that all platforms are available.My request is since this is a very heavy dependency it would be fantastic if these dependencies could be marked as optional, or lazily downloaded, or toggled on/off based on environment variables, or something else that doesn't cost all 750MB.
All reactions