react/scripts/rollup
Andrew Clark 22edb9f777
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.
2022-04-26 16:28:48 -04:00
..
plugins Remove path resolution from internal forks plugin (#23255) 2022-02-09 08:44:02 -08:00
shims Add skipBubbling property to dispatch config (#23366) 2022-03-14 10:59:21 -07:00
validate Fix false positive lint error with large number of branches (#24287) 2022-04-08 00:22:47 +01:00
wrappers Fix module-boundary wrappers (#22688) 2021-11-04 10:40:35 -04:00
build-all-release-channels.js React `version` field should match package.json (#24445) 2022-04-26 16:28:48 -04:00
build.js Match bundle.name and match upper case entry points (#24346) 2022-04-11 21:01:48 -04:00
bundles.js Delete create-subscription folder (#24288) 2022-04-11 20:07:22 +01:00
forks.js Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
modules.js Re-add old Fabric Offscreen impl behind flag (#22018) 2021-08-03 19:30:20 -07:00
packaging.js Remove ./src/* export from public build (#23262) 2022-02-22 20:13:33 -05:00
stats.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
sync.js Fork React Native renderer into FB and OSS bundles (#12625) 2018-04-18 13:16:50 -07:00
utils.js Fixed broken build script --unsafe-partial flag (#22324) 2021-09-15 13:32:09 -04:00
wrappers.js #22988 - Fix Bug: @license header in React 18 bundles contains vundefined (#23004) 2021-12-21 12:27:59 -05:00