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 a390a95 commit 2535249Copy full SHA for 2535249
packages/builder-rsbuild/src/react-shims.ts
@@ -70,7 +70,7 @@ export const applyReactShims = async (
70
): Promise<RsbuildConfig | undefined> => {
71
const isReactVersion18 = await getIsReactVersion18or19(options)
72
if (isReactVersion18) {
73
- return undefined
+ return {}
74
}
75
76
return {
0 commit comments