diff --git a/packages/gatsby/src/commands/build-utils.ts b/packages/gatsby/src/commands/build-utils.ts index e659d740c0b6d..796765572e8bf 100644 --- a/packages/gatsby/src/commands/build-utils.ts +++ b/packages/gatsby/src/commands/build-utils.ts @@ -71,7 +71,7 @@ export function calcDirtyHtmlFiles( const toDelete: Array = [] if (state.html.unsafeBuiltinWasUsedInSSR) { - console.warn( + reporter.warn( `Previous build used unsafe builtin method. We need to rebuild all pages` ) }