You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../node_modules/react-flag-icon-css/module/styles/main.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: ../node_modules/react-flag-icon-css/module/styles.js
How I am creating FlagIcon
importstylesfrom'./FlagIcon.module.scss';importReactfrom'react';import{CustomFlagIconFactory}from'react-flag-icon-css';constFlagIcon=CustomFlagIconFactory(React,{// I have also tried with the value `true`, but still can'tuseCssModules: false,themeStyles: styles});exportdefaultFlagIcon;
The text was updated successfully, but these errors were encountered:
Report a bug:
Basic information:
react-flag-icon-css
version: ^1.0.25next
version: ^9.3.2node -v
: v10.16.3Description
I use
next
with Global StylesheetsError when compiled:
How I am creating
FlagIcon
The text was updated successfully, but these errors were encountered: