Updated extensions build-from-source instructions in README

This commit is contained in:
Brian Vaughn
2019-08-29 08:49:08 -07:00
parent ac6193687f
commit f962feb882

View File

@@ -8,10 +8,15 @@ The easiest way to install this extension is as a browser add-on:
## Development
You can also build and install from source:
```sh
yarn install
You can also build and install this extension from source.
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:
```sh
yarn build -- react,react-dom,react-is,scheduler --type=NODE
```
Once the above packages have been built, you can build the extension by running:
```sh
cd packages/react-devtools-extensions/
yarn build:chrome # => packages/react-devtools-extensions/chrome/build