-
Notifications
You must be signed in to change notification settings - Fork 536
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
Webpack Build Error "You may need an appropriate loader" since v 2.0.228 #695
Comments
I also started encountering this issue when this package was released. |
Here, same as well |
Same here: ERROR in ./node_modules/@fluentui/react-icons/lib/utils/fonts/FluentSystemIcons-Resizable.ttf 1:0 |
This have been fixed in #696, please use |
Since update to version 2.0.228 I'm getting the following error on the Webpack build:
I get a total of 9 errors, basically for all font imports of
@fluentui\react-icons\lib\utils\fonts\createFluentFontIcon.js
.If I downgrade to 2.0.226 it builds without errors. I'm on the latest (as of today) version 9.46.5 of @fluentui/react-components.
I'm using the icons as React elements as described at https://react.fluentui.dev/?path=/docs/concepts-developer-icons-icons--page
import { DismissRegular, CloudArrowDownRegular, SignatureRegular } from "@fluentui/react-icons";
I do not have any specific configuration related to using the icons in
webpack.config.js
.As downgrading fixes the issue, I'm guessing it might be a problem outside of my code. But I can be wrong here. Let me know if you need further data. I'd be glad to help.
Thank you for your attention and help.
The text was updated successfully, but these errors were encountered: