mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Update Readme (#14176)
Replace core with react, dom-client with react-dom
This commit is contained in:
committed by
Dan Abramov
parent
88d09d18c5
commit
854bd9becb
@@ -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`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user