Home > Software engineering >  Reduce the react native ios/android size folder
Reduce the react native ios/android size folder

Time:05-01

Need help to reduce the react-native file size, my repo is getting heavy.

cd ios
xcodebuild clean

cd android
./gradlew clean
./gradlew cleanBuildCache

I tried both commands but still the same.

node_modules is already in .gitignore

enter image description here

CodePudding user response:

No need to add android/app/build which occupies most of space. These get generated when "run android" command is executed.

  • Related