diff --git a/packages/react-dom/package.json b/packages/react-dom/package.json index c60f4950dd6ca..6125002eb82a1 100644 --- a/packages/react-dom/package.json +++ b/packages/react-dom/package.json @@ -38,6 +38,19 @@ "cjs/", "umd/" ], + "exports": { + ".": "./index.js", + "./server": { + "deno": "./server.browser.js", + "worker": "./server.browser.js", + "browser": "./server.browser.js", + "default": "./server.node.js" + }, + "./profiling": "./profiling.js", + "./test-utils": "./test-utils.js", + "./package.json": "./package.json", + "./": "./" + }, "browser": { "./server.js": "./server.browser.js" },