Update Readme (#14176)
Replace core with react, dom-client with react-dom
This commit is contained in:
parent
b98adb648a
commit
d204747bef
|
@ -20,7 +20,7 @@ Follow these steps:
|
|||
# 1: Build react from source
|
||||
cd /path/to/react
|
||||
yarn
|
||||
yarn build dom-client,core,react-cache,scheduler --type=NODE
|
||||
yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
|
||||
|
||||
# 2: Install fixture dependencies
|
||||
cd fixtures/unstable-async/suspense/
|
||||
|
|
|
@ -18,7 +18,7 @@ There are also known bugs and inefficiencies in master so **don't use this fixtu
|
|||
# 1: Build react from source
|
||||
cd /path/to/react
|
||||
yarn
|
||||
yarn build dom-client,core,react-cache,scheduler --type=NODE
|
||||
yarn build react-dom/index,react/index,react-cache,scheduler --type=NODE
|
||||
|
||||
# 2: Install fixture dependencies
|
||||
cd fixtures/unstable-async/time-slicing/
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
In most cases, the only two commands you might want to use are:
|
||||
|
||||
- `yarn start`
|
||||
- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build`
|
||||
- `yarn --cwd=../../ build react/index,react-dom/index --type=UMD_PROD && yarn start --skip-build`
|
||||
|
||||
The first command will run benchmarks with all the default settings. A local and remote build will occur on React and ReactDOM UMD bundles, both local and remote repos will be run against all benchmarks.
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ async function buildBenchmarkBundlesFromGitRepo(
|
|||
async function buildReactBundles(reactPath = getDefaultReactPath(), skipBuild) {
|
||||
if (!skipBuild) {
|
||||
await executeCommand(
|
||||
`cd ${reactPath} && yarn && yarn build core,dom-client --type=UMD_PROD`
|
||||
`cd ${reactPath} && yarn && yarn build react/index,react-dom/index --type=UMD_PROD`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue