logtrace / material-icons-react

Google material icons implementation for React
MIT License
24 stars 16 forks source link

Next js Support #50

Open HyunSangHan opened 4 years ago

HyunSangHan commented 4 years ago

There is a complie failure when I serve my react app by next. I think it has to be supported.


Failed to compile

Fail./node_modules/material-icons-react/dist/index.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: node_modules/material-icons-react/dist/index.js

This error occurred during the build time and cannot be dismissed.

ContatoWavetech commented 2 years ago

i have the same problem...