diff --git a/packages/gatsby/src/bootstrap/index.js b/packages/gatsby/src/bootstrap/index.js index dc81466d4f103..327add12af360 100644 --- a/packages/gatsby/src/bootstrap/index.js +++ b/packages/gatsby/src/bootstrap/index.js @@ -386,6 +386,8 @@ module.exports = async (args: BootstrapArgs) => { await require(`../schema`).build({ parentSpan: activity.span }) activity.end() + require(`../schema/type-conflict-reporter`).printConflicts() + // Collect resolvable extensions and attach to program. const extensions = [`.mjs`, `.js`, `.jsx`, `.wasm`, `.json`] // Change to this being an action and plugins implement `onPreBootstrap` @@ -441,16 +443,6 @@ module.exports = async (args: BootstrapArgs) => { await apiRunnerNode(`onPreExtractQueries`, { parentSpan: activity.span }) activity.end() - // Update Schema for SitePage. - activity = report.activityTimer(`update schema`, { - parentSpan: bootstrapSpan, - }) - activity.start() - await require(`../schema`).build({ parentSpan: activity.span }) - activity.end() - - require(`../schema/type-conflict-reporter`).printConflicts() - // Extract queries activity = report.activityTimer(`extract queries from components`, { parentSpan: bootstrapSpan,