Skip to content

Commit

Permalink
docs: update monorepo instructions (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb authored Sep 25, 2024
1 parent 09f3ecd commit 85c7bd7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,22 @@ The `svelte-devtools` extension requires the following to be true:

## Development

Clone this repository, setup and run the build script
Clone this repository and setup the environment with `pnpm`

```sh
git clone https://github.com/sveltejs/svelte-devtools.git
cd svelte-devtools
pnpm install
pnpm build
```

This will build the codebase and output all the required files in the `build` directory. To load the extension for development, follow these steps:
To work on the extension, run the `dev` script from `workspace/extension` directory

```sh
cd workspace/extension
pnpm dev
```

This will build the extension and create a directory called `build`. Steps may vary depending on the browser you are using, but generally:

1. Navigate to the extensions settings page
2. Turn on the 'Developer mode' switch
Expand Down

0 comments on commit 85c7bd7

Please sign in to comment.