diff --git a/README.md b/README.md index 6d0d261975..fc592d3ab4 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ public-hoist-pattern=* shamefully-hoist=true ``` +Note: Setting shamefully-hoist to true is the same as setting public-hoist-pattern to *. + ### Note for Yarn 3 Yarn 3 use PnP by default, but electron-builder still need node-modules(ref: [yarnpkg/berry#4804](https://github.com/yarnpkg/berry/issues/4804#issuecomment-1234407305)). Add configuration in the `.yarnrc.yaml` as follows: diff --git a/docs/index.md b/docs/index.md index 33a011d42f..a852818c48 100644 --- a/docs/index.md +++ b/docs/index.md @@ -47,6 +47,7 @@ public-hoist-pattern=* shamefully-hoist=true ``` +Note: Setting shamefully-hoist to true is the same as setting public-hoist-pattern to *. ## Boilerplates @@ -152,4 +153,4 @@ DEBUG=electron-builder ## Community -[electron-builder](https://electron-builder.zulipchat.com/) on Zulip. \ No newline at end of file +[electron-builder](https://electron-builder.zulipchat.com/) on Zulip.