From 7aa959c15b520f990c08dfcbca9bb30a3dba0528 Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 22 Nov 2024 15:50:03 +0100 Subject: [PATCH] incremental --- packages/docusaurus/src/webpack/base.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/docusaurus/src/webpack/base.ts b/packages/docusaurus/src/webpack/base.ts index 31ea6b85d5c1..b3ea407143f6 100644 --- a/packages/docusaurus/src/webpack/base.ts +++ b/packages/docusaurus/src/webpack/base.ts @@ -142,7 +142,10 @@ export async function createBaseConfig({ // Produces warnings in production builds // See https://github.com/web-infra-dev/rspack/pull/8311#issuecomment-2476014664 // @ts-expect-error: Rspack-only - incremental: !isProd, + // incremental: !isProd, + // TODO restore incremental mode in dev + opt-in/opt-out flag? + // temporarily disabled due to https://github.com/facebook/docusaurus/issues/10646#issuecomment-2490675451 + incremental: undefined, }; } return undefined;