Luke
Luke
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Luke on 8/8/2024 in #questions
Building the facebook/react project
Hey folks, I realize this Discord probably isn't the appropriate place for getting support around this, but I'm curious if anyone knows someone or knows someone who knows someone that might be able to help out with this? I've noticed recently that the React contribution guides have been royally failing for me, particularly this build step with everything installed on Apple Silicon: Node LTS, JDK 22, yarn, gcc, etc. Using the build step:
yarn build
yarn build react/index,react-dom/index --type=UMD
yarn build
yarn build react/index,react-dom/index --type=UMD
produces:
yarn run v1.22.22
$ node ./scripts/rollup/build-all-release-channels.js react/index,react-dom/index --type=UMD
┌────────┬───────────┬──────────────┬──────┬───────────┬──────────────┬──────┐
│ Bundle │ Prev Size │ Current Size │ Diff │ Prev Gzip │ Current Gzip │ Diff │
└────────┴───────────┴──────────────┴──────┴───────────┴──────────────┴──────┘
┌────────┬───────────┬──────────────┬──────┬───────────┬──────────────┬──────┐
│ Bundle │ Prev Size │ Current Size │ Diff │ Prev Gzip │ Current Gzip │ Diff │
└────────┴───────────┴──────────────┴──────┴───────────┴──────────────┴──────┘
:sparkles: Done in 2.65s.
yarn run v1.22.22
$ node ./scripts/rollup/build-all-release-channels.js react/index,react-dom/index --type=UMD
┌────────┬───────────┬──────────────┬──────┬───────────┬──────────────┬──────┐
│ Bundle │ Prev Size │ Current Size │ Diff │ Prev Gzip │ Current Gzip │ Diff │
└────────┴───────────┴──────────────┴──────┴───────────┴──────────────┴──────┘
┌────────┬───────────┬──────────────┬──────┬───────────┬──────────────┬──────┐
│ Bundle │ Prev Size │ Current Size │ Diff │ Prev Gzip │ Current Gzip │ Diff │
└────────┴───────────┴──────────────┴──────┴───────────┴──────────────┴──────┘
:sparkles: Done in 2.65s.
and a half-deleted build folder. There were some GitHub issues around this in the past that the React team just... didn't want to deal with on GitHub, and the other normal forms of communicating with other React contributors like https://webchat.freenode.net/?channels=reactjs have been down for weeks. Verbose doesn't produce anything different. I've done the fresh build cycle and uninstalled all the core deps like Java again a few times now. It's possible that UMD is fully deprecated, but a) it is still in the contribution guide, and b) every other way to build and test changes has failed for me as well at some point in some weird way.
2 replies