From 5d336846e674c766de4c8970a0533ff9b3054f21 Mon Sep 17 00:00:00 2001
From: Shu Ding <g@shud.in>
Date: Mon, 17 Apr 2023 13:51:37 +0200
Subject: [PATCH] fix build error

---
 packages/next/src/build/webpack-config.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts
index 696c04318d16f..c2b1e5c127409 100644
--- a/packages/next/src/build/webpack-config.ts
+++ b/packages/next/src/build/webpack-config.ts
@@ -2241,7 +2241,7 @@ export default async function getBaseWebpackConfig(
               appDir,
               dev,
               isEdgeServer,
-              useExperimentalReact,
+              useExperimentalReact: false,
             })),
       hasAppDir &&
         !isClient &&