Skip to content

Commit

Permalink
feat: update note for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
romadryud committed Oct 3, 2022
1 parent 9338097 commit 379b761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Expand Up @@ -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

Expand Down Expand Up @@ -152,4 +153,4 @@ DEBUG=electron-builder

## Community

[electron-builder](https://electron-builder.zulipchat.com/) on Zulip.
[electron-builder](https://electron-builder.zulipchat.com/) on Zulip.

0 comments on commit 379b761

Please sign in to comment.