Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose MDXProvider from next-mdx-remote #287

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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