-
Notifications
You must be signed in to change notification settings - Fork 6
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
Not working with create-react-app #40
Comments
Hey @tume, thanks for bringing this up! 👋 I assume these are two separate problems:
I'll take a look on weekend. |
Did you figure anything about I tried removing |
The real problem came from here: Because hoist-non-react-statics didn't export a import * as hoistStatics from 'hoist-non-react-statics'; In hoist-non-react-statics v2.5.5 this default export was fixed, and since that's what react-with-async-fonts v4.0.2 uses, it how should now be working by just upgrading to v4.0.2. |
@Kronuz ah I see, thanks for digging into that! I'll consider this fixed, but feel free to re-open this issue if it doesn't work for you. Cheers 👍 |
Hey @ejoo, thanks for reporting this one! Would you mind sharing your TS config to help me quickly reproduce that issue? |
@sbekrin I made a quick fix with following code:
Following is my
|
Getting this when trying to create production build:
Also tried importing from /lib/ directory but then getting:
Uncaught TypeError: hoist_non_react_statics_1.default is not a function
The text was updated successfully, but these errors were encountered: