contentco / quill-emoji

Quill module toolbar extension for emoji
274 stars 166 forks source link

ModuleParseError: Module parse failed: Unexpected character '�' (1:0) #109

Open shamoons opened 4 years ago

shamoons commented 4 years ago

I'm using react-quill with next.js and just doing

import "quill-emoji/dist/quill-emoji.css";

causes:

error - ./node_modules/quill-emoji/dist/quill-emoji.css
ModuleParseError: Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

Any thoughts on what I'm doing wrong?

angelsbv commented 4 years ago

Try: https://github.com/vercel/next.js/issues/299#issuecomment-263146962