Skip to content

Commit 55989a4

Browse files
thefoxisMichael Dijkstra
andauthored
Update CONTRIBUTING.md
Co-authored-by: Michael Dijkstra <[email protected]>
1 parent 49ee274 commit 55989a4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,11 @@ Add a new page to `website/pages/` which showcases the provider. If you don't wa
174174

175175
The new provider page can be tested locally by creating a distribution version of the package and referencing this from the `website`.
176176

177-
Unfortunately if you try to include the package locally from source you'll most likely run into a [Duplicate React](https://reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react) error.
178-
179177
To create the distribution version and reference it, do the following:
180178

181-
- In the root of the project, run `npm run build` to build the package into `dist`
182-
- Update `website/package.json` to reference the `dist` build: `"react-live-chat-loader": "../"`
179+
- In the root of the project, run `npm run build`
183180
- In the `website` directory run `npm install`
184181
- In the `website` directory run the server with `npm run dev`
185182
- Add a new page to `website/pages/` which includes the new component
186183
- Add a link to the provider in `website/pages/index.js`
187-
- Add a link to the provider in `website/components/exampleLinks.js`
184+
- Add a link to the provider in `website/components/exampleLinks.js`

0 commit comments

Comments
 (0)