From 9343f872038746b6bd0455d8d1098f31a1674b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Mon, 14 Jun 2021 19:23:19 -0400 Subject: [PATCH] Use the server src files as entry points for the builds/tests (#21683) * Use the server src files as entry points for the builds/tests We need one top level entry point to target two builds so we can't have the top level one be the entry point for the builds. * Same thing but with the modern entry point --- fixtures/fizz-ssr-browser/index.html | 4 +-- fixtures/ssr/src/index.js | 2 +- packages/react-dom/npm/server.browser.js | 4 +-- packages/react-dom/npm/server.node.js | 4 +-- .../react-dom/npm/unstable-fizz.browser.js | 4 +-- packages/react-dom/npm/unstable-fizz.node.js | 4 +-- ...ReactDOMLegacyServerBrowser.classic.fb.js} | 2 +- scripts/rollup/bundles.js | 29 ++++++++++--------- scripts/shared/inlinedHostConfigs.js | 9 ++++-- 9 files changed, 34 insertions(+), 28 deletions(-) rename packages/react-dom/{server.browser.classic.fb.js => src/server/ReactDOMLegacyServerBrowser.classic.fb.js} (82%) diff --git a/fixtures/fizz-ssr-browser/index.html b/fixtures/fizz-ssr-browser/index.html index 6320c4a56bbcb..82ed7bf6145da 100644 --- a/fixtures/fizz-ssr-browser/index.html +++ b/fixtures/fizz-ssr-browser/index.html @@ -17,11 +17,11 @@

Fizz Example

- +