Skip to content

Commit

Permalink
fix(gatsby-plugin-mdx): set childOf extension for Mdx type definition (
Browse files Browse the repository at this point in the history
…#25112)

* set mimeTypes extension for Mdx type definition

* whoops
  • Loading branch information
tesseralis authored Jun 27, 2020
1 parent 67b3ca9 commit 49c0929
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/gatsby-plugin-mdx/gatsby/source-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,11 @@ ${e}`
},
},
interfaces: [`Node`],
extensions: {
childOf: {
mimeTypes: options.mediaTypes,
},
},
})
createTypes(MdxType)
}

0 comments on commit 49c0929

Please sign in to comment.