SIGN IN SIGN UP

React `version` field should match package.json (#24445)

The `version` field exported by the React package currently corresponds
to the `@next` release for that build. This updates the build script
to output the same version that is used in the package.json file.

It works by doing a find-and-replace of the React version after the
build has completed. This is a bit weird but it saves us from having
to build the `@next` and `@latest` releases separately; they are
identical except for the version numbers.
A
Andrew Clark committed
22edb9f777d27369fd2c1fad378f74e237b6dfd3
Parent: 6bf3dee
Committed by GitHub <noreply@github.com> on 4/26/2022, 8:28:48 PM