dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonpackages/react/src/__tests__/ReactVersion-test.js AddedM scripts/rollup/build-all-release-channels.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…