Skip to content

Commit

Permalink
fix(core): disable Rspack incremental in dev (#10712)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Nov 22, 2024
1 parent 90e85e8 commit 8561826
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/docusaurus/src/webpack/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8561826

Please sign in to comment.