Skip to content

Commit f6f03c1

Browse files
Timeless0911fi3ework
authored andcommitted
chore: update
1 parent 03f2fd4 commit f6f03c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@ export async function composeCreateRsbuildConfig(
666666
// 2 - libRsbuildConfig: the configuration that we compose from Rslib unique config and userConfig from 1
667667
// 3 - internalRsbuildConfig: the built-in best practice Rsbuild configuration we provide in Rslib
668668
// We should state in the document that the built-in configuration should not be changed optionally
669+
// In compose process of 2, we may read some config from 1, and reassemble the related config,
670+
// so before final mergeRsbuildConfig, we reset some specified fields
669671
config: mergeRsbuildConfig(
670672
internalRsbuildConfig,
671673
libRsbuildConfig,

0 commit comments

Comments
 (0)