GeezerVison is showing github.com — Updated extensions build-from-source instructions in README · react/react@f962feb
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/react-devtools-extensions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/README.md +7-2Lines changed: 7 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,10 +8,15 @@ The easiest way to install this extension is as a browser add-on: |
8 | 8 |
|
9 | 9 | ## Development |
10 | 10 |
|
11 | | -You can also build and install from source: |
| 11 | +You can also build and install this extension from source. |
| 12 | + |
| 13 | +DevTools embeds local versions of several NPM packages also in this workspae. If you have not already built them, you'll need to do that before getting started by running the following command in the root directory of this repository: |
12 | 14 | ```sh |
13 | | -yarn install |
| 15 | +yarn build -- react,react-dom,react-is,scheduler --type=NODE |
| 16 | +``` |
14 | 17 |
|
| 18 | +Once the above packages have been built, you can build the extension by running: |
| 19 | +```sh |
15 | 20 | cd packages/react-devtools-extensions/ |
16 | 21 |
|
17 | 22 | yarn build:chrome # => packages/react-devtools-extensions/chrome/build |
|