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"], }, });