Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make vector-icons optional #48

Open
vforvasile opened this issue Jan 24, 2020 · 1 comment
Open

Make vector-icons optional #48

vforvasile opened this issue Jan 24, 2020 · 1 comment
Assignees

Comments

@vforvasile
Copy link

It would be cool if react-native-vector-icons was optional.

For instance, if I use custom Icons I don't want to add an additional 2MB+ of icons to my bundle.

@prscX prscX self-assigned this Jan 24, 2020
@prscX
Copy link
Owner

prscX commented Jan 24, 2020

Got you. I need to check for conditional import, however if you don't specify/ configure icons in xcode or android build setting then it won't bundle icons and will not increase your build size. Could you try and share your findings, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants