-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
gatsby-plugin-mdx doesn't find local plugins? #23194
Comments
Hey @nextriot, it's more like a feature request. This can be handled by gatsby-plugin-mdx. We're happy to get pull requests. |
@wardpeet do you think it would it make sense to export resolvePlugin() from Gatsby core (or |
There are lots of interconnected issues here. Especially if the
Note that the issues mostly talk about subplugins being npm packages, but it's actually the same problem for local plugins Exporting On top of that, check this comment #8379 (comment) about work on "selective cache invalidation" - for this to work Gatsby core will need to know about relationships between plugins/subplugins to properly clear caches and exporting |
Definitely a lot more going on than it appears at first glance 😄
I hadn't even thought about Gatsby needing to track what was resolving the sub-plugins! It makes perfect sense, though, how an export wouldn't work. |
I'll close this issue, because the problem is already captured in #21592 and there's no point in having duplicates. The |
Is this expected? Known issue?
The text was updated successfully, but these errors were encountered: