Skip to content

Commit b573843

Browse files
authored
Update how-to-contribute.md
1 parent 3bf9950 commit b573843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/how-to-contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@ Then, you can run several commands:
115115
* `yarn debug-test` is just like `yarn test` but with a debugger. Open `chrome://inspect` and press "Inspect".
116116
* `yarn flow` runs the [Flow](https://flowtype.org/) typechecks.
117117
* `yarn build` creates a `build` folder with all the packages.
118-
* `yarn build core,dom --type=UMD` creates UMD builds of just React and ReactDOM.
118+
* `yarn build react/index,react-dom/index --type=UMD` creates UMD builds of just React and ReactDOM.
119119

120120
We recommend running `yarn test` (or its variations above) to make sure you don't introduce any regressions as you work on your change. However it can be handy to try your build of React in a real project.
121121

122122
First, run `yarn build`. This will produce pre-built bundles in `build` folder, as well as prepare npm packages inside `build/packages`.
123123

124-
The easiest way to try your changes is to run `yarn build core,dom --type=UMD` and then open `fixtures/packaging/babel-standalone/dev.html`. This file already uses `react.development.js` from the `build` folder so it will pick up your changes.
124+
The easiest way to try your changes is to run `yarn build react/index,react-dom/index --type=UMD` and then open `fixtures/packaging/babel-standalone/dev.html`. This file already uses `react.development.js` from the `build` folder so it will pick up your changes.
125125

126126
If you want to try your changes in your existing React project, you may copy `build/dist/react.development.js`, `build/dist/react-dom.development.js`, or any other build products into your app and use them instead of the stable version. If your project uses React from npm, you may delete `react` and `react-dom` in its dependencies and use `yarn link` to point them to your local `build` folder:
127127

0 commit comments

Comments
 (0)