From b62c5bf6d932e57eb89857ed4663b70ef4785d7a Mon Sep 17 00:00:00 2001 From: Bryce Kalow Date: Tue, 20 Jun 2023 12:34:57 -0500 Subject: [PATCH] fix: ensure we statically generate pages when using the FS loader (#2012) ensure we statically generate pages when using the FS loader --- src/lib/_proxied-dot-io/get-static-generation-functions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/_proxied-dot-io/get-static-generation-functions.ts b/src/lib/_proxied-dot-io/get-static-generation-functions.ts index 07592d3b24..3de8498f1f 100644 --- a/src/lib/_proxied-dot-io/get-static-generation-functions.ts +++ b/src/lib/_proxied-dot-io/get-static-generation-functions.ts @@ -136,8 +136,8 @@ export const getStaticGenerationFunctions: typeof getStaticGenerationFunctionsBa return { ...result, - // Do not statically generate any .io site pages - paths: [], + // Do not statically generate any .io site pages when reading remote content + ...(opts.strategy === 'remote' && { paths: [] }), } }, getStaticProps,