Closed fabgallo closed 5 years ago
@fabgallo Thanks for reporting this. I'll investigate this issue and post an update.
@fabgallo Quick update: It looks like the css file is being cut in half. (which cause that in the playground you have missing definitions). This is not something about your css or component, I notice that long examples are being cut as well. I'm still trying to understand where exactly in the pipe it's being cut. I'll post my findings here.
seems to be related to https://github.com/facebook/create-react-app/issues/923 they say the generated url could be faulty, but I checked with Postmen and it seems to be the file from the component.
so I am thinking it's a Loader issue inside the CreateReactApp in the Capsule?
@KutnerUri It's working with regular create-react-app. And the one in the capsule is no different I think. I'm not sure it's about the capsule.
Any news on this one? I'm getting the same error, thus breaking my components on playground.
Hi, @fjckls I found the problem, we are working to fix it.
Guy
@fabgallo @fjckls @KutnerUri fixed :)
thanks @guysaar223 !! I went back to my demo component and indeed it works correctly now. I will try with my other private components soon and report back in case of issues.
Expected Behavior
Webfonts hosted in a Bit package get rendered properly
Actual Behavior
The browser complains with the following error and the font doesn't get rendered (the character is shown as a square):
Steps to Reproduce the Problem
I created 2 public components in Bit to show the issue:
(I apologize for the big images)
Specifications