From e8ead487d660b3fbdae64be7a70e811c723f7f93 Mon Sep 17 00:00:00 2001 From: Kostya Zgara Date: Sat, 7 Aug 2021 23:16:09 +0300 Subject: [PATCH] [Docs] add description how to use plugin with pnp --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d7d50eaf51..ce823fe792 100644 --- a/README.md +++ b/README.md @@ -348,6 +348,8 @@ An array of folders. Resolved modules only from those folders will be considered This option is also useful in a monorepo setup: list here all directories that contain monorepo's packages and they will be treated as external ones no matter which resolver is used. +Also, this option can be used with plug'n'play mode. For example, if you are using `yarn berry` you can set `.yarn` folder and all your installed dependencies will be considered as `external`, otherwise it will be `internal`. + Each item in this array is either a folder's name, its subpath, or its absolute prefix path: - `jspm_modules` will match any file or folder named `jspm_modules` or which has a direct or non-direct parent named `jspm_modules`, e.g. `/home/me/project/jspm_modules` or `/home/me/project/jspm_modules/some-pkg/index.js`.