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 c13bada commit c916741Copy full SHA for c916741
packages/core/src/config.ts
@@ -541,7 +541,7 @@ const composeFormatConfig = (format: Format): RsbuildConfig => {
541
}
542
};
543
544
-const composeShimsConfig = (format: Format, shims: Shims): RsbuildConfig => {
+const composeShimsConfig = (format: Format, shims?: Shims): RsbuildConfig => {
545
const resolvedShims = {
546
cjs: {
547
'import.meta.url': shims?.cjs?.['import.meta.url'] ?? true,
0 commit comments