From f403f139c71524d907208125fd88612899a854d2 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Tue, 1 Mar 2022 00:01:54 -0500 Subject: [PATCH] Require react-dom through client so it can be aliased --- packages/react-dom/npm/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-dom/npm/client.js b/packages/react-dom/npm/client.js index 1557bed9ffd23..8e611088d0a34 100644 --- a/packages/react-dom/npm/client.js +++ b/packages/react-dom/npm/client.js @@ -1,6 +1,6 @@ 'use strict'; -var m = require('./'); +var m = require('react-dom'); if (process.env.NODE_ENV === 'production') { exports.createRoot = m.createRoot; exports.hydrateRoot = m.hydrateRoot;