How to eliminate fonts which are not used to reduce release build

61 Views Asked by At

Apk Analyzer

package.json includes

"rnpm": { "assets": [ "./assets/fonts" ] } "react-native-vector-icons": "9.2.0",

1

There are 1 best solutions below

0
Mrinal Maheshwari On

You can go in library and comment the line if needed and patch library so that fonts won't be included neither in iOS or Android builds

That's what I did when I faced issue with same library :)