You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/browser/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ We have 2 options for linking this project to your local version: via [pnpm link
84
84
- run `pnpm build` and `pnpm package` in the root of this repo to generate a tarball of this project.
85
85
- run `pnpm -r update posthog-js@file:[ABSOLUTE_PATH_TO_POSTHOG_JS_REPO]/target/posthog-js.tgz` in the root of the repo that you want to link to (e.g. the posthog main repo).
86
86
- run `pnpm install` in that same repo
87
-
- run `cd frontend && pnpm run copy-scripts` if the repo that you want to link to is the posthog main repo.
87
+
- run `pnpm --filter=frontend copy-scripts` if the repo that you want to link to is the posthog main repo.
88
88
89
89
Then, once this link has been created, any time you need to make a change to `posthog-js`, you can run `pnpm build && pnpm package` from the `posthog-js` root and the changes will appear in the other repo.
0 commit comments