Check it mdx-components.js
exists, no-op providerImportSource
if not
#64
Labels
mdx-components.js
exists, no-op providerImportSource
if not
#64
If
mdx-components.js
does not exist, we fallback to@mdx-js/react
. This causes problems for server components as it uses a React context internally.We should no-op
providerImportSource
ifmdx-components.js
is not able to be resolved.Reference: https://github.com/hashicorp/next-mdx-remote/blob/main/src/serialize.ts#L33-L34
The text was updated successfully, but these errors were encountered: