posthog-js 1.50.2 → 1.50.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +2 -2
- package/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/es.js +1 -1
- package/dist/es.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ The `posthog-js` snippet for a website loads static js from the main `PostHog/po
|
|
|
44
44
|
|
|
45
45
|
1. Run `PostHog/posthog` locally
|
|
46
46
|
2. Link the `posthog-js` dependency to your local version (see below)
|
|
47
|
-
3. Run `yarn
|
|
47
|
+
3. Run `yarn start` in `posthog-js`. (This ensures `dist/array.js` is being generated)
|
|
48
48
|
4. In your locally running `PostHog/posthog` build, run `yarn copy-scripts`. (This copies the scripts generated in step 3 to the static assets folder for `PostHog/posthog`)
|
|
49
49
|
|
|
50
50
|
Further, it's a good idea to modify `start-http` script to add development mode: `webpack serve --mode development`, which doesn't minify the resulting js (which you can then read in your browser).
|
|
@@ -56,7 +56,7 @@ Run `npm install -g yalc`
|
|
|
56
56
|
- In the posthog-js repo
|
|
57
57
|
- Run `yalc publish`
|
|
58
58
|
- In the posthog repo
|
|
59
|
-
- Run `yalc add posthog-js && pnpm i && pnpm
|
|
59
|
+
- Run `yalc add posthog-js && pnpm i && pnpm copy-scripts`
|
|
60
60
|
|
|
61
61
|
#### When making changes
|
|
62
62
|
|