Skip to content

Commit

Permalink
Mention running local changes inside monorepo (#27050)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Jul 9, 2021
1 parent d22ecd9 commit 6eaa685
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ EXAMPLE=./test/integration/basic

## Running your own app with locally compiled version of Next.js

1. Move your app inside of the Next.js monorepo.

2. Run with `yarn next-with-deps ./app-path-in-monorepo`

This will use the version of `next` built inside of the Next.js monorepo and the main `yarn dev` monorepo command can be running to make changes to the local Next.js version at the same time (some changes might require re-running `yarn next-with-deps` to take affect).

or

1. In your app's `package.json`, replace:

```json
Expand Down

0 comments on commit 6eaa685

Please sign in to comment.