Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the server src files as entry points for the builds/tests #21683

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Jun 14, 2021

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 build configs.

To do this I added "name" field so we can customize the build output's name a bit more freely.

The next step is actually merging the top level entry points.

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.
@sebmarkbage sebmarkbage requested a review from gaearon June 14, 2021 22:58
@facebook-github-bot facebook-github-bot added React Core Team Opened by a member of the React Core Team CLA Signed labels Jun 14, 2021
@sizebot
Copy link

sizebot commented Jun 14, 2021

Comparing: e601854...3849e6a

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 127.08 kB 127.08 kB = 40.74 kB 40.74 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 129.89 kB 129.89 kB = 41.67 kB 41.67 kB
facebook-www/ReactDOM-prod.classic.js = 405.00 kB 405.00 kB = 74.92 kB 74.92 kB
facebook-www/ReactDOM-prod.modern.js = 393.35 kB 393.35 kB = 73.10 kB 73.10 kB
facebook-www/ReactDOMForked-prod.classic.js = 405.00 kB 405.00 kB = 74.92 kB 74.92 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.64 kB +∞% 0.00 kB 52.13 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.08 kB +∞% 0.00 kB 10.62 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 220.21 kB +∞% 0.00 kB 52.56 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.68 kB +∞% 0.00 kB 10.84 kB
oss-experimental/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.81 kB +∞% 0.00 kB 52.73 kB
oss-experimental/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.26 kB +∞% 0.00 kB 10.76 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.07 kB +∞% 0.00 kB 51.95 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 31.95 kB +∞% 0.00 kB 10.57 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 219.64 kB +∞% 0.00 kB 52.39 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.54 kB +∞% 0.00 kB 10.79 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.19 kB +∞% 0.00 kB 52.57 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.13 kB +∞% 0.00 kB 10.71 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.07 kB +∞% 0.00 kB 51.95 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 31.95 kB +∞% 0.00 kB 10.57 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 219.64 kB +∞% 0.00 kB 52.39 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.54 kB +∞% 0.00 kB 10.79 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.19 kB +∞% 0.00 kB 52.57 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.13 kB +∞% 0.00 kB 10.71 kB
oss-experimental/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-stable-semver/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-stable/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-experimental/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-stable-semver/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-stable/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-experimental/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-stable-semver/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-stable/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-experimental/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-stable-semver/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-stable/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.95 kB 0.00 kB Deleted 51.73 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.17 kB 0.00 kB Deleted 10.88 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.86 kB 0.00 kB Deleted 51.58 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.45 kB 0.00 kB Deleted 10.88 kB 0.00 kB
oss-experimental/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.95 kB 0.00 kB Deleted 52.33 kB 0.00 kB
oss-experimental/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.99 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.39 kB 0.00 kB Deleted 51.57 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.04 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.30 kB 0.00 kB Deleted 51.41 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable-semver/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.34 kB 0.00 kB Deleted 52.18 kB 0.00 kB
oss-stable-semver/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.21 kB 0.00 kB Deleted 10.94 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.39 kB 0.00 kB Deleted 51.57 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.04 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.30 kB 0.00 kB Deleted 51.41 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.34 kB 0.00 kB Deleted 52.18 kB 0.00 kB
oss-stable/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.21 kB 0.00 kB Deleted 10.94 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
oss-experimental/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.64 kB +∞% 0.00 kB 52.13 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.08 kB +∞% 0.00 kB 10.62 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 220.21 kB +∞% 0.00 kB 52.56 kB
oss-experimental/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.68 kB +∞% 0.00 kB 10.84 kB
oss-experimental/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.81 kB +∞% 0.00 kB 52.73 kB
oss-experimental/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.26 kB +∞% 0.00 kB 10.76 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.07 kB +∞% 0.00 kB 51.95 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 31.95 kB +∞% 0.00 kB 10.57 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 219.64 kB +∞% 0.00 kB 52.39 kB
oss-stable-semver/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.54 kB +∞% 0.00 kB 10.79 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.19 kB +∞% 0.00 kB 52.57 kB
oss-stable-semver/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.13 kB +∞% 0.00 kB 10.71 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 218.07 kB +∞% 0.00 kB 51.95 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 31.95 kB +∞% 0.00 kB 10.57 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.development.js +∞% 0.00 kB 219.64 kB +∞% 0.00 kB 52.39 kB
oss-stable/react-dom/cjs/react-dom-server-legacy.node.production.min.js +∞% 0.00 kB 32.54 kB +∞% 0.00 kB 10.79 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.development.js +∞% 0.00 kB 229.19 kB +∞% 0.00 kB 52.57 kB
oss-stable/react-dom/umd/react-dom-server-legacy.browser.production.min.js +∞% 0.00 kB 32.13 kB +∞% 0.00 kB 10.71 kB
oss-experimental/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-stable-semver/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-stable/react-dom/server.node.js +6.31% 0.22 kB 0.24 kB +4.52% 0.16 kB 0.16 kB
oss-experimental/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-stable-semver/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-stable/react-dom/server.browser.js +6.14% 0.23 kB 0.24 kB +3.14% 0.16 kB 0.16 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.production.min.js +0.30% 31.94 kB 32.04 kB +2.53% 10.57 kB 10.83 kB
oss-stable/react-dom/cjs/react-dom-server.browser.production.min.js +0.30% 31.94 kB 32.04 kB +2.53% 10.57 kB 10.83 kB
oss-experimental/react-dom/cjs/react-dom-server.browser.production.min.js +0.26% 32.08 kB 32.16 kB +2.46% 10.62 kB 10.88 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.production.min.js +0.25% 32.12 kB 32.20 kB +2.06% 10.71 kB 10.93 kB
oss-stable/react-dom/umd/react-dom-server.browser.production.min.js +0.25% 32.12 kB 32.20 kB +2.06% 10.71 kB 10.93 kB
oss-experimental/react-dom/umd/react-dom-server.browser.production.min.js +0.21% 32.26 kB 32.32 kB +2.06% 10.76 kB 10.98 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.production.min.js = 32.54 kB 32.32 kB +0.42% 10.79 kB 10.83 kB
oss-stable/react-dom/cjs/react-dom-server.node.production.min.js = 32.54 kB 32.32 kB +0.42% 10.79 kB 10.83 kB
oss-experimental/react-dom/cjs/react-dom-server.node.production.min.js = 32.67 kB 32.44 kB +0.34% 10.84 kB 10.87 kB
oss-stable-semver/react-dom/cjs/react-dom-server.browser.development.js = 218.06 kB 215.39 kB = 51.95 kB 51.56 kB
oss-stable/react-dom/cjs/react-dom-server.browser.development.js = 218.06 kB 215.39 kB = 51.95 kB 51.56 kB
oss-experimental/react-dom/cjs/react-dom-server.browser.development.js = 218.64 kB 215.95 kB = 52.12 kB 51.73 kB
oss-stable-semver/react-dom/umd/react-dom-server.browser.development.js = 229.18 kB 226.33 kB = 52.56 kB 52.17 kB
oss-stable/react-dom/umd/react-dom-server.browser.development.js = 229.18 kB 226.33 kB = 52.56 kB 52.17 kB
oss-experimental/react-dom/umd/react-dom-server.browser.development.js = 229.80 kB 226.94 kB = 52.72 kB 52.32 kB
oss-stable-semver/react-dom/cjs/react-dom-server.node.development.js = 219.63 kB 215.29 kB = 52.38 kB 51.41 kB
oss-stable/react-dom/cjs/react-dom-server.node.development.js = 219.63 kB 215.29 kB = 52.38 kB 51.41 kB
oss-experimental/react-dom/cjs/react-dom-server.node.development.js = 220.21 kB 215.85 kB = 52.55 kB 51.57 kB
oss-experimental/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-stable-semver/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-stable/react-dom/unstable-fizz.browser.js = 0.24 kB 0.23 kB = 0.17 kB 0.16 kB
oss-experimental/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-stable-semver/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-stable/react-dom/unstable-fizz.node.js = 0.24 kB 0.22 kB = 0.16 kB 0.16 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.95 kB 0.00 kB Deleted 51.73 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.17 kB 0.00 kB Deleted 10.88 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.86 kB 0.00 kB Deleted 51.58 kB 0.00 kB
oss-experimental/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.45 kB 0.00 kB Deleted 10.88 kB 0.00 kB
oss-experimental/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.95 kB 0.00 kB Deleted 52.33 kB 0.00 kB
oss-experimental/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.99 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.39 kB 0.00 kB Deleted 51.57 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.04 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.30 kB 0.00 kB Deleted 51.41 kB 0.00 kB
oss-stable-semver/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable-semver/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.34 kB 0.00 kB Deleted 52.18 kB 0.00 kB
oss-stable-semver/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.21 kB 0.00 kB Deleted 10.94 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.browser.development.js Deleted 215.39 kB 0.00 kB Deleted 51.57 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js Deleted 32.04 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.node.development.js Deleted 215.30 kB 0.00 kB Deleted 51.41 kB 0.00 kB
oss-stable/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js Deleted 32.33 kB 0.00 kB Deleted 10.84 kB 0.00 kB
oss-stable/react-dom/umd/react-dom-unstable-fizz.browser.development.js Deleted 226.34 kB 0.00 kB Deleted 52.18 kB 0.00 kB
oss-stable/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js Deleted 32.21 kB 0.00 kB Deleted 10.94 kB 0.00 kB

Generated by 🚫 dangerJS against 3849e6a

@sebmarkbage sebmarkbage merged commit 9343f87 into facebook:master Jun 14, 2021
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
…ok#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
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Jun 22, 2021
Summary:
This sync includes the following changes:
- **[43f4cc160](facebook/react@43f4cc160 )**: Fix failing test ([#21697](facebook/react#21697)) //<Dan Abramov>//
- **[d0f348dc1](facebook/react@d0f348dc1 )**: Fix for failed Suspense layout semantics ([#21694](facebook/react#21694)) //<Brian Vaughn>//
- **[bd0a96344](facebook/react@bd0a96344 )**: Throw when `act` is used in production ([#21686](facebook/react#21686)) //<Andrew Clark>//
- **[9343f8720](facebook/react@9343f8720 )**: Use the server src files as entry points for the builds/tests ([#21683](facebook/react#21683)) //<Sebastian Markbåge>//
- **[502f8a2a0](facebook/react@502f8a2a0 )**: [Fizz/Flight] Don't use default args ([#21681](facebook/react#21681)) //<Sebastian Markbåge>//
- **[a8f5e77b9](facebook/react@a8f5e77b9 )**: Remove invokeGuardedCallback from commit phase ([#21666](facebook/react#21666)) //<Dan Abramov>//
- **[dbe3363cc](facebook/react@dbe3363cc )**: [Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz ([#21276](facebook/react#21276)) //<Sebastian Markbåge>//
- **[101ea9f55](facebook/react@101ea9f55 )**: Set deletedTreeCleanUpLevel to 3 ([#21679](facebook/react#21679)) //<Dan Abramov>//
- **[1a106bdc2](facebook/react@1a106bdc2 )**: Wrap eventhandle-specific logic in a flag ([#21657](facebook/react#21657)) //<Dan Abramov>//
- **[cb30388d1](facebook/react@cb30388d1 )**: Export React Native `AttributeType` Types ([#21661](facebook/react#21661)) //<Timothy Yung>//
- **[c1536795c](facebook/react@c1536795c )**: Revert "Make enableSuspenseLayoutEffectSemantics static for www ([#21617](facebook/react#21617))" ([#21656](facebook/react#21656)) //<Sebastian Markbåge>//

Changelog:
[General][Changed] - React Native sync for revisions c96b78e...568dc35

jest_e2e[run_all_tests]

Reviewed By: rickhanlonii

Differential Revision: D29303157

fbshipit-source-id: 90952885eb2264f4effa04070357b80700bb9be3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants