Skip to content

Commit 32f5ba4

Browse files
authored
fix(gatsby): Improve warning when a source plugin doesn't create a node (#35478)
This often means something went wrong during sourcing.
1 parent 7445aa3 commit 32f5ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/src/utils/source-nodes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function warnForPluginsWithoutNodes(
4343

4444
pluginsWithNoNodes.map(name =>
4545
report.warn(
46-
`The ${name} plugin has generated no Gatsby nodes. Do you need it?`
46+
`The ${name} plugin has generated no Gatsby nodes. Do you need it? This could also suggest the plugin is misconfigured.`
4747
)
4848
)
4949
}

0 commit comments

Comments
 (0)