Minimal setup, how? #15645
Unanswered
markusbrite
asked this question in
Q&A
Minimal setup, how?
#15645
Replies: 1 comment 2 replies
-
Update: By doing init this way instead I got it down from 338kb to 230kb.. better! but still not great!
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a library where I want to add Sentry.. the lib is about 7kb and when Sentry is added.... 338kb 🎉
How can I remove all the stuff I don't want/need?
Only thing I want to have right now is errors.. The lib is used external and I want to minimize it as much as possible..
This is how I init...
and then in another file I have:
import { captureException, captureMessage, startSpan } from '@sentry/browser';
I have checked the generated bundle and it does contain things like breadcrumbs etc....

How can I slim the bundle?
Beta Was this translation helpful? Give feedback.
All reactions