We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When rendering with MDXRenderer, import in different .mdx with same identifer name will conflict.
import
.mdx
I think this bug is caused by this line:
gatsby/packages/gatsby-plugin-mdx/loaders/mdx-scopes.js
Line 19 in 43f29d9
scope_ 0
scope_ 1
I reproduce this bug with "Gatsby Default Starter" https://github.com/csr632/reproduce-gatsby-mdx-issue
import in different .mdx should not interfere each other.
They do.
all
The text was updated successfully, but these errors were encountered:
closing in favor of #17119. Thanks for the report!
Sorry, something went wrong.
No branches or pull requests
Description
When rendering with MDXRenderer,
import
in different.mdx
with same identifer name will conflict.I think this bug is caused by this line:
gatsby/packages/gatsby-plugin-mdx/loaders/mdx-scopes.js
Line 19 in 43f29d9
For example,
scope_ 0
andscope_ 1
may have same property!Steps to reproduce
I reproduce this bug with "Gatsby Default Starter"
https://github.com/csr632/reproduce-gatsby-mdx-issue
Expected result
import
in different.mdx
should not interfere each other.Actual result
They do.
Environment
all
The text was updated successfully, but these errors were encountered: