Skip to content

Commit

Permalink
Updated extensions build-from-source instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Aug 29, 2019
1 parent ac61936 commit f962feb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/react-devtools-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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 install
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
Expand Down

0 comments on commit f962feb

Please sign in to comment.