(gatsby-plugin-mdx): GatsbyConfig typescript is not honoured when options are set #38603
Open
2 tasks done
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
When using
gatsby-plugin-mdx
withgatsby-config.ts
, if configuration options are set (such asmdxOptions
), gatsby-config data is ignored. In my reproduction, the site title shows as null, and allFile has zero entries (should have one).If
gatsby-plugin-mdx
is added without configuration options, everything works fine.Reproduction Link
https://github.com/jcxldn/gatsby-mdx-reproduction
Steps to Reproduce
In minimal reproduction:
gatsby develop --verbose
Expected Result
Gatsby's config continues to be honoured and options set in it still apply (such as siteMetadata.title)
Actual Result
Config is not honored when options are set.
Environment
Config Flags
N/A.
The text was updated successfully, but these errors were encountered: