-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(replay): Merge packages together & ensure bundles are built #11552
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice thank you!
714312e
to
b49969f
Compare
somehow the text based is not working...
can we add entries in size-limit for only modal and only screenshot? just want to make sure their individual builds are ok too |
@@ -5,7 +5,7 @@ window.Sentry = Sentry; | |||
Sentry.init({ | |||
dsn: 'https://public@dsn.ingest.sentry.io/1337', | |||
replaysOnErrorSampleRate: 1.0, | |||
replaysSessionSampleRate: 0, | |||
replaysSessionSampleRate: 1.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was intentional to make sure that replay is captured when in buffering mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not actually doing this today, I believe? At least the test failed 🤔 I merged this in now so we are unblocked, we can revert/tweak this a bit in a follow up!
b49969f
to
4bc8457
Compare
...makeBundleConfigVariants( | ||
makeBaseBundleConfig({ | ||
bundleType: 'addon', | ||
entrypoints: ['src/modal/integration.tsx'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrypoints: ['src/modal/integration.tsx'], | |
entrypoints: ['src/modal/integration.ts'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is actually tsx 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I didn't know that! that's interesting
…sentry#11552) This reverts getsentry#11342 and instead generates multiple bundles etc. from the one `@sentry-internal/feedback` package. * The `feedback` CDN bundle integration includes the modal integration for now. * There is also a dedicated modal & screenshot integration on the CDN * Also kept the shims etc. that Ryan added in the now-reverted PR * Size limits now seem correct to me! I bumped them (as they now correctly include the feedback modal etc), but you can see the diff to the screenshots being included (it's not too high, really).
This reverts #11342 and instead generates multiple bundles etc. from the one
@sentry-internal/feedback
package.feedback
CDN bundle integration includes the modal integration for now.