You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also includes code for tracing but I assume that could be shaken as documented here: https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/. However, Feedback and Replay Canvas (we only record DOM) are two large modules that I haven't found a way to remove from the final build.
The text was updated successfully, but these errors were encountered:
Hey, so replay-canvas should def. be tree shaken away by default. Can you clarify, is this actually included in the bundle that is built, or just logged out? The same is true for feedback - yes, this is exported from the @sentry/react package, but unless you import it it should not be included in your actual application bundle.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.113.0
Framework Version
7.113.0
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
npm run build
Expected Result
Non-used bundles don't appear in the final bundle
Actual Result
It includes Feedback and Replay Canvas:
It also includes code for tracing but I assume that could be shaken as documented here: https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/. However, Feedback and Replay Canvas (we only record DOM) are two large modules that I haven't found a way to remove from the final build.
The text was updated successfully, but these errors were encountered: