Skip to content

Commit ac3d57a

Browse files
authored
chore: add pnpm info to README (#1760)
1 parent 71af829 commit ac3d57a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ If you currently use redirects or rewrites on your site, see
138138
information on changes to how they are handled in this version. In particular, note that `_redirects` and `_headers`
139139
files must be placed in `public`, not in the root of the site.
140140

141+
## Using with pnpm
142+
If your site uses pnpm to manage dependencies, currently you must [enable public hoisting](https://pnpm.io/npmrc#public-hoist-pattern).
143+
The simplest way to do this is to create a `.npmrc` file in the root of your project with the content:
144+
145+
```ini
146+
public-hoist-pattern[]=*
147+
```
148+
141149
## Feedback
142150

143151
If you think you have found a bug in Next.js on Netlify,

0 commit comments

Comments
 (0)