Skip to content

Update OpenPanel web SDK so session replay is only loaded when enabled - #384

Merged
merlinfuchs merged 1 commit into
mainfrom
merlin/openpanel-web-1.4
Oct 21, 2026
Merged

merlinfuchs merged 1 commit into
mainfrom
merlin/openpanel-web-1.4

Conversation

@merlinfuchs

Copy link
Copy Markdown
Owner

@openpanel/web 1.3.0 imports rrweb statically; 1.4.1 moves session replay into a chunk loaded with import() only when sessionReplay is on, which we don't use. App main chunk goes from 871 KB to 689 KB (256 to 198 KB gzip). The SDK still sends only to /track, so the /ops rewrite keeps working.

@merlinfuchs
merlinfuchs merged commit 33042d2 into main Oct 21, 2026
4 checks passed
@merlinfuchs
merlinfuchs deleted the merlin/openpanel-web-1.4 branch October 21, 2026 11:21
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.

1 participant