-
My project is using I noticed drastic change in the bundle size if I use Sentry.ErrorBoundary - from 70k to 350k. See the below pictures: The project doesn't need and is not using features like tracing and replay. I even try to include nothing in
Any idea? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Your bundling setup is not treeshaking properly, it's including the entire bundle when importing the error boundary. What bundler are you using? |
Beta Was this translation helpful? Give feedback.
-
found the solution here: #6886 (comment) |
Beta Was this translation helpful? Give feedback.
avoid
export default Sentry
everywhere