Skip to content

docs(web-sdk): Document the slim JS bundle#15461

Merged
dustinbyrne merged 2 commits intomasterfrom
docs/tree-shake-posthog-js
Mar 5, 2026
Merged

docs(web-sdk): Document the slim JS bundle#15461
dustinbyrne merged 2 commits intomasterfrom
docs/tree-shake-posthog-js

Conversation

@dustinbyrne
Copy link
Contributor

@dustinbyrne dustinbyrne commented Mar 3, 2026

Changes

Adds some documentation regarding the usage of the 'slim' bundle in posthog-js.

https://c4eb71f0.posthog-preview.pages.dev/docs/libraries/js

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Mar 03, 2026 11:11PM

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Vale prose linter → found 0 errors, 3 warnings, 0 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/integrate/_snippets/install-web.mdx — 0 errors, 3 warnings, 0 suggestions
Line Severity Message Rule
3:1 warning 'Option 1: Add the JavaScript snippet to your HTML Recommended' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
88:108 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
88:123 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames

@dustinbyrne
Copy link
Contributor Author

This won't go out until PostHog/posthog-js#3166 is merged & released

@dustinbyrne dustinbyrne requested a review from a team March 4, 2026 18:19
@dustinbyrne dustinbyrne merged commit fe80274 into master Mar 5, 2026
17 checks passed
@dustinbyrne dustinbyrne deleted the docs/tree-shake-posthog-js branch March 5, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants