We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0967446 commit 6b51a8eCopy full SHA for 6b51a8e
packages/gatsby/src/services/initialize.ts
@@ -320,6 +320,8 @@ export async function initialize({
320
// The last, gatsby-node.js, is important as many gatsby sites put important
321
// logic in there e.g. generating slugs for custom pages.
322
const pluginVersions = flattenedPlugins.map(p => p.version)
323
+ // we should include gatsby version as well
324
+ pluginVersions.push(require(`../../package.json`).version)
325
const optionalFiles = [
326
`${program.directory}/gatsby-config.js`,
327
`${program.directory}/gatsby-node.js`,
0 commit comments