Skip to content

Commit

Permalink
docs: fix the lost of external file node after 'gatsby develop' rebui…
Browse files Browse the repository at this point in the history
…lding

After adding this, someone can modify `*.md`, then the rebuilding by 'gatsby develop' will not break the type inference for a foreign-key field created by the plugin.

Fix(gatsbyjs#22127): gatsbyjs#22127
  • Loading branch information
StinsonZhao authored Mar 24, 2020
1 parent 67e1996 commit 1be28b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/preprocessing-external-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exports.createSchemaCustomization = ({ actions }) => {
createTypes(`
type MarkdownRemark implements Node {
frontmatter: Frontmatter
featuredImg: File @link(from: "featuredImg___NODE")
}
type Frontmatter {
Expand Down

0 comments on commit 1be28b8

Please sign in to comment.