From f962feb882cfbd2ebe69d472fcaa391bdfd2b110 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 29 Aug 2019 08:49:08 -0700 Subject: [PATCH] Updated extensions build-from-source instructions in README --- packages/react-devtools-extensions/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/react-devtools-extensions/README.md b/packages/react-devtools-extensions/README.md index 263fe95d5578d..8b52bfc7855fc 100644 --- a/packages/react-devtools-extensions/README.md +++ b/packages/react-devtools-extensions/README.md @@ -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