Skip to content

Commit 85c7bd7

Browse files
authored
docs: update monorepo instructions (#235)
1 parent 09f3ecd commit 85c7bd7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,22 @@ The `svelte-devtools` extension requires the following to be true:
2525

2626
## Development
2727

28-
Clone this repository, setup and run the build script
28+
Clone this repository and setup the environment with `pnpm`
2929

3030
```sh
3131
git clone https://github.com/sveltejs/svelte-devtools.git
3232
cd svelte-devtools
3333
pnpm install
34-
pnpm build
3534
```
3635

37-
This will build the codebase and output all the required files in the `build` directory. To load the extension for development, follow these steps:
36+
To work on the extension, run the `dev` script from `workspace/extension` directory
37+
38+
```sh
39+
cd workspace/extension
40+
pnpm dev
41+
```
42+
43+
This will build the extension and create a directory called `build`. Steps may vary depending on the browser you are using, but generally:
3844

3945
1. Navigate to the extensions settings page
4046
2. Turn on the 'Developer mode' switch

0 commit comments

Comments
 (0)