diff --git a/packages/gatsby/cache-dir/static-entry.js b/packages/gatsby/cache-dir/static-entry.js index 7fc99f09d213d..14571aeddb5c2 100644 --- a/packages/gatsby/cache-dir/static-entry.js +++ b/packages/gatsby/cache-dir/static-entry.js @@ -283,7 +283,7 @@ export default async function staticPage({ if (renderToPipeableStream) { const writableStream = new WritableAsPromise() const { pipe } = renderToPipeableStream(bodyComponent, { - onCompleteAll() { + onAllReady() { pipe(writableStream) }, onError() {},