Skip to content

feat(rrweb): expose canvas manager subpath - #294

Merged
logaretm merged 3 commits into
sentry-v2from
awad/rrweb-canvas-manager-subpath
May 12, 2026
Merged

feat(rrweb): expose canvas manager subpath#294
logaretm merged 3 commits into
sentry-v2from
awad/rrweb-canvas-manager-subpath

Conversation

@logaretm

@logaretmlogaretm commented May 11, 2026

Copy link
Copy Markdown
Member

This PR exposes the CanvasManager as a subpath export, the reason for this is that the rrweb package has some side effects along the export path that pins the whole graph.

That prevents Rolldown's DCE from dropping it properly in sentry SDKs, blocking the adoption of rolldown. Rollup seemed to handle this properly.

I will release this once merged.

@logaretm
logaretm requested review from chargome and mydeaMay 11, 2026 18:04
Comment threadpackages/rrweb/vite.config.js
@logaretm
logaretmforce-pushed the awad/rrweb-canvas-manager-subpath branch from c5e74ad to 7f75737CompareMay 11, 2026 20:46
@logaretm
logaretmforce-pushed the awad/rrweb-canvas-manager-subpath branch from 7f75737 to 1180d3cCompareMay 11, 2026 20:58
@logaretm
logaretm merged commit d242a01 into sentry-v2May 12, 2026
24 of 25 checks passed
@logaretm
logaretm deleted the awad/rrweb-canvas-manager-subpath branch May 12, 2026 14:53
logaretm added a commit to getsentry/sentry-javascript that referenced this pull request May 15, 2026
This unblocks rolldown migration by adopting the just released rrweb
version with getsentry/rrweb#294
This should reduce the bundle size increase coming out of rolldown.
Sign up for freeto 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

@logaretm@chargome