We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9280122 commit e56b7fdCopy full SHA for e56b7fd
1 file changed
packages/core/src/core/plugins/basic.ts
@@ -52,10 +52,8 @@ export const pluginBasic: (context: RstestContext) => RsbuildPlugin = (
52
53
// Mirrors the pattern in packages/browser/src/hostController.ts:
54
// only write `performance.buildCache` when the user has opted in.
55
- // Writing `performance.buildCache: false` explicitly causes Rsbuild
56
- // to set Rspack's `cache: false`, which disables Rspack's default
57
- // in-memory module cache and makes every build start cold from disk
58
- // (~4x slowdown on non-trivial test builds).
+ // Leaving it undefined keeps the generated Rsbuild config aligned with
+ // the user's original intent instead of materializing the default value.
59
const buildCache = resolveProjectBuildCache({
60
context,
61
project,
0 commit comments