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

Rename yarn build-combined to just yarn build #26192

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

sebmarkbage
Copy link
Collaborator

It's confusing to new contributors, and me, that you're supposed to use yarn build-combined for almost everything but not fixtures.

We should use only one build command for everything.

Updated fixtures to use the folder convention of build-combined.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Feb 17, 2023
"build": "node ./scripts/rollup/build.js",
"build-combined": "node ./scripts/rollup/build-all-release-channels.js",
"build": "node ./scripts/rollup/build-all-release-channels.js",
"build-combined": "echo 'build-combined is deprecated. yarn build instead.'",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably just delete this. I'm sure users will adapt quickly.

@sebmarkbage sebmarkbage force-pushed the buildcombined branch 2 times, most recently from 6a90640 to bdc966a Compare February 17, 2023 20:01
@react-sizebot
Copy link

react-sizebot commented Feb 17, 2023

Comparing: 1a49e2d...45e4c98

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 = 154.55 kB 154.55 kB = 48.84 kB 48.84 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 156.55 kB 156.55 kB = 49.46 kB 49.46 kB
facebook-www/ReactDOM-prod.classic.js = 529.74 kB 529.74 kB = 94.36 kB 94.36 kB
facebook-www/ReactDOM-prod.modern.js = 514.97 kB 514.97 kB = 92.17 kB 92.18 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 45e4c98

It's confusing to new contributors, and me, that you're supposed to use `yarn build-combined` for almost everything but not fixtures.

We should use only one build command for everything.
@sebmarkbage sebmarkbage merged commit db5e625 into facebook:main Feb 17, 2023
github-actions bot pushed a commit that referenced this pull request Feb 17, 2023
It's confusing to new contributors, and me, that you're supposed to use
`yarn build-combined` for almost everything but not fixtures.

We should use only one build command for everything.

Updated fixtures to use the folder convention of build-combined.

DiffTrain build for [db5e625](db5e625)
[View git log for this commit](https://github.com/facebook/react/commits/db5e6250d4bbb70c5085c58694a2e9c78c3f6371)
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