Skip to content

Commit f5ea174

Browse files
ematipicoevilebottnawi
authored andcommitted
docs(contribution): alternative way to test (#1506)
1 parent 99e8db0 commit f5ea174

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

CONTRIBUTING.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,16 @@ Pull requests often need some real-world testing.
3939

4040
1. In your `package.json`, change the line with `webpack-dev-server` to:
4141

42-
```json
43-
"webpack-dev-server": "github:webpack/webpack-dev-server#pull/<ID>/head"
44-
```
42+
```json
43+
"webpack-dev-server": "<PATH>"
44+
```
4545

46-
`<ID>` is the ID of the pull request.
46+
`<PATH>`:
47+
48+
- `github:webpack/webpack-dev-server#pull/<ID>/head`
49+
where `<ID>` is the ID of the pull request.
50+
51+
- `file:../path/to/local/webapck-dev-server/fork` is the path to your local repo, just make sure you hit the correct path
4752

4853
2. Run `npm install`.
4954

0 commit comments

Comments
 (0)