Next.js Discord

Discord Forum

Next JS 13 with Emoji-mart

Answered
lucas posted this in #help-forum
Open in Discord
Avatar
Hi all, I am having problems with emoji mart, in development emoji-mart works correctly but in production I get this error, could you help me?
Image
Image
Image
Answered by lucas
Temporary solution [next.config.js]
Image
View full answer

3 Replies

Avatar
Temporary solution [next.config.js]
Image
Answer
Avatar
considering this is a known [emoji-mart bug](https://github.com/missive/emoji-mart/issues/849) the solution above is pretty much the only solution we have at the moment
until emoji-mart or swc fixes something on their end to make the two work together