Skip to content

react icons not working #7637

Closed Answered by kalilsub
pullmann4rent asked this question in Q&A
Oct 4, 2023 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

You have to add serverDependenciesToBundle inside your remix.config:

export default {
      ignoredRouteFiles: ['**/.*'],
      serverDependenciesToBundle: [/^react-icons/],
    };

Hope this helps :)

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by machour
Comment options

You must be logged in to vote
2 replies
@machour
Comment options

@jfavrod
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #7588 on October 11, 2023 14:46.