Package size is massive
See original GitHub issue- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
-
@sentry/node
-
raven-js
-
raven-node
(raven for node) - other:
Version:
5.18.1
Description
Hi. Recently I looked into my pet project bundle size and was shocked with the size of @sentry/browser and its dependencies:
It looks like there’s already been some discussion around the package size (https://github.com/getsentry/sentry-javascript/issues/1552) and the problem is considered to be fixed but this is just crazy - @sentry/browser
is consuming more space than React! I understand there’s a lot in it, some integrations, grouping logic etc but is there a tiny Sentry client I can use which doesn’t cost a world?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:111
- Comments:51 (10 by maintainers)
Top Results From Across the Web
JavaScript SDK “Package Size is Massive” - So we reduced it ...
After all, new features == bigger package - usually. Refactoring to reduce bundle size and support future feature development was not the only ......
Read more >(413) the package size is too large - MyGet - Stack Overflow
The weird thing is that the package is 100MB and the limit is 500MB, for the subscription and maximum package size. We tried...
Read more >Daniel Quiroz on Twitter: "My package size is just too big (> ...
My package size is just too big (> 5 MB) to upload to CRAN, any suggestion to reduce the size ... There a...
Read more >Package size get extremely larger than the original MSI file ...
Hi Folks, I've been trying to push Java (JRE) package via EndPoint Manager to WIn10 devices but the file size gets extremely large...
Read more >Is there a limit on the file size or entire package size ... - MASV
No limits. We know the media and entertainment industry moves the world's largest file sets. MASV supports virtually infinite file and package sizes....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, so this is one of the most important items on our roadmap to v6 see: https://github.com/getsentry/sentry-javascript/issues/2817
It will not happen before v6 and there are a few reasons for that. In order to make it smaller, we need to do a lot of internal refactorings, which strictly speaking, are breaking changes.
Even though from a usage perspective there shouldn’t be any breaking changes (syntax, SDK API will stay the same), if someone for example wrote their own integration or used the SDK in a more advanced way there might be some breaking changes.
We will make the SDK more tree-shakable and remove a lot of internal glue code that doesn’t contribute towards adding a lot of functionality.
Bear with us, we hear you and I wanted to let you know this is a high priority issue for us.