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 012761e commit be43418Copy full SHA for be43418
packages/gatsby/src/services/initialize.ts
@@ -332,6 +332,8 @@ export async function initialize({
332
// The last, gatsby-node.js, is important as many gatsby sites put important
333
// logic in there e.g. generating slugs for custom pages.
334
const pluginVersions = flattenedPlugins.map(p => p.version)
335
+ // we should include gatsby version as well
336
+ pluginVersions.push(require(`../../package.json`).version)
337
const optionalFiles = [
338
`${program.directory}/gatsby-config.js`,
339
`${program.directory}/gatsby-node.js`,
0 commit comments