question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package size is massive

See original GitHub issue

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:

image

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:closed
  • Created 3 years ago
  • Reactions:111
  • Comments:51 (10 by maintainers)

github_iconTop GitHub Comments

59reactions
contesinicommented, Nov 12, 2021

aqikqeae7gz61

47reactions
HazATcommented, Oct 20, 2020

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.

Read more comments on GitHub >

github_iconTop 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 (&gt ...
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found