Skip to content

Conversation

@oseh-stake
Copy link

In NextJS12, the present configuration produces an error.

This can be rectified by using module.exports = require('./dist/MUIRichTextEditor')

In NextJS12, the present configuration produces an error. 

This can be rectified by using module.exports = require('./dist/MUIRichTextEditor')
@paradoxkb
Copy link

@oseh-stake sure, I used this way in my case for use the module. But import from dist isn't normal way and you are agree with it I think.

@chrishj59 chrishj59 mentioned this pull request Dec 25, 2021
1 task
@oseh-stake
Copy link
Author

@paradoxkb I have seen it before in other packages

Copy link

@corneliugaina corneliugaina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok let's go

@Joris-Hotton
Copy link

Please do this PR in order to unlock people (like me !!)

Copy link

@Joris-Hotton Joris-Hotton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants