From 058f83b07c17b5223ff844b616c6477caec27cfb Mon Sep 17 00:00:00 2001 From: Jacob Wartofsky Date: Sun, 15 Oct 2023 21:05:06 -0400 Subject: [PATCH] remove react-dom/client from optimizeDeps --- packages/pages/src/dev/server/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pages/src/dev/server/server.ts b/packages/pages/src/dev/server/server.ts index c56847c8c..15fead4f1 100644 --- a/packages/pages/src/dev/server/server.ts +++ b/packages/pages/src/dev/server/server.ts @@ -51,7 +51,7 @@ export const createServer = async ( projectStructure.config.envVarConfig.envVarPrefix ), optimizeDeps: { - include: ["react-dom", "react-dom/client"], + include: ["react-dom"], }, });