Skip to content

Conversation

@sebald
Copy link

@sebald sebald commented Jul 11, 2022

Reason: We ran into a problem using next-mdx-remote with MDXProvider. Since other tools also have @mdx-js/react as a transitive dependency we have several versions installed in our mono repo. This lead our next app to use the incorrect version (= not the version that next-mdx-remote uses).

Solution: We fixed it by adding @mdx-js/react to our dependencies, but there is a much easier way. Since next-mdx-remote has @mdx-js/react as a dependency anyway it also can expose the correct MDXProvider.

@hashicorp-cla
Copy link

hashicorp-cla commented Jul 11, 2022

CLA assistant check
All committers have signed the CLA.

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.

2 participants