Skip to content

Conversation

@mydea
Copy link
Member

@mydea mydea commented Dec 7, 2022

rrweb only exposes typings/entries/all in it's package.json, so we need to import from there. For this, we need another patch to ensure the things we need are actually re-exported from there.

rrweb only exposes `typings/entries/all` in it's package.json, so we need to import from there. For this, we need another patch to ensure the things we need are actually re-exported from there.
@mydea mydea added the Package: replay Issues related to the Sentry Replay SDK label Dec 7, 2022
@mydea mydea requested review from Lms24 and billyvg December 7, 2022 16:23
@mydea mydea self-assigned this Dec 7, 2022
@AbhiPrasad
Copy link
Member

Can we PR rrewb upstream with this? Seems super useful.

Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something to address upstream as well?

@mydea
Copy link
Member Author

mydea commented Dec 7, 2022

I opened a PR: rrweb-io/rrweb#1067 but even if it is merged, this will only go into v2!

@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.68 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 60.94 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.46 KB (+0.01% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 54.49 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.26 KB (0%)
@sentry/browser - Webpack (minified) 66.24 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.29 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.08 KB (-0.13% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.5 KB (-0.12% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 24.92 KB (-0.14% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 41.79 KB (-0.01% 🔽)
@sentry/replay - Webpack (gzipped + minified) 37.91 KB (0%)

@mydea
Copy link
Member Author

mydea commented Dec 7, 2022

Okay nevermind, actually rollup is still stripping the types away in our vendored rrweb 😬 so I guess we'll vendor the necessary types for now.

@mydea mydea closed this Dec 7, 2022
@mydea mydea deleted the fn/fix-rrweb-typeings branch December 9, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Package: replay Issues related to the Sentry Replay SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants