Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions packages/gatsby/src/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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,
Expand Down