mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Updated extensions build-from-source instructions in README
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user