Skip to content

Commit 74ca790

Browse files
docs/update recommended pnpm hoist patterns for Lit SSR plugin (#194)
1 parent 6169894 commit 74ca790

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

src/pages/docs/plugins/lit-ssr.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,20 @@ You can use your favorite JavaScript package manager to install this plugin.
5656

5757
<!-- prettier-ignore-end -->
5858

59-
> For PNPM users, you'll want to add `public-hoist-pattern[]=@lit-labs/*` to your _.npmrc_ file
59+
For PNPM users, you'll want to add these hoist patterns to your _.npmrc_ file
60+
61+
<!-- prettier-ignore-start -->
62+
63+
<app-ctc-block variant="snippet" heading=".npmrc">
64+
65+
```shell
66+
public-hoist-pattern[]=@lit-labs/*
67+
public-hoist-pattern[]=lit-html
68+
```
69+
70+
</app-ctc-block>
71+
72+
<!-- prettier-ignore-end -->
6073

6174
Then add this plugin to your _greenwood.config.js_.
6275

0 commit comments

Comments
 (0)