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

Phosphor + Expo: JavaScript heap out of memory #24

Open
caioedut opened this issue Sep 15, 2022 · 1 comment
Open

Phosphor + Expo: JavaScript heap out of memory #24

caioedut opened this issue Sep 15, 2022 · 1 comment

Comments

@caioedut
Copy link

caioedut commented Sep 15, 2022

After using phosphor-react-native, everytime I try to build a new app version with Expo EAS, I caught "JavaScript heap out of memory" (too many files).

There is no way to phosphor-react-native distribution to be smaller?

I also tried to set Node memory to 12GB.

I use import * as Icon from "phosphor-react-native"; and I need it.

@Chiliseo
Copy link

try to used this format
import User from 'phosphor-react-native/src/icons/User'

:)

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