Skip to content

Commit c916741

Browse files
committed
up
1 parent c13bada commit c916741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ const composeFormatConfig = (format: Format): RsbuildConfig => {
541541
}
542542
};
543543

544-
const composeShimsConfig = (format: Format, shims: Shims): RsbuildConfig => {
544+
const composeShimsConfig = (format: Format, shims?: Shims): RsbuildConfig => {
545545
const resolvedShims = {
546546
cjs: {
547547
'import.meta.url': shims?.cjs?.['import.meta.url'] ?? true,

0 commit comments

Comments
 (0)