From 9e0dc370869e3486f1e779a931e4e6d1bdda06fe Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Fri, 11 Nov 2022 11:50:53 +0000 Subject: [PATCH] chore: add `pnpm` info to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a36da4a0fb..b4d524707a 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,14 @@ If you currently use redirects or rewrites on your site, see information on changes to how they are handled in this version. In particular, note that `_redirects` and `_headers` files must be placed in `public`, not in the root of the site. +## Using with pnpm +If your site uses pnpm to manage dependencies, currently you must [enable public hoisting](https://pnpm.io/npmrc#public-hoist-pattern). +The simplest way to do this is to create a `.npmrc` file in the root of your project with the content: + +```ini +public-hoist-pattern[]=* +``` + ## Feedback If you think you have found a bug in Next.js on Netlify,