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

Viewed 23

Apk Analyzer

package.json includes

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

1 Answers

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 :)

Related