-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Storybook 4.0.0-alpha.2 with FontAwesome #3435
Comments
does using |
@danielduan This issue persists even with |
I see. Wouldn't it make sense not to add The current approach causes incompatibility with other packages, which could be avoided. What doesn't make sense to me is to create a |
Makes sense to me @emiyake |
I'm having a similar issue with Semantic UI... |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
If you are reporting a bug or requesting support, start here:
Bug or support request summary
I updated the storybook in my project and found out that SVG fonts are not loaded correctly by the default
wepack.config.js
.I noticed that
.svg
extension was removed from the loader that deals with fonts in the #3221 commit:and
svg-url-loader
was added:The problem is that when there is a third-party components are loaded from
node_modules
, such as FontAwesome, the.svg
in the css gets converted, causing an error in the css:It should be:
The solution would be removing
svg-url-loader
from the defaultwebpack.config.js
and adding back the|svg
test in this line.The text was updated successfully, but these errors were encountered: