Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> * Obese JavaScript code. We had to write our own custom code to log events.

For what it's worth we spent a lot of time to reduce bundle sizes recently. It's ultimately a tradeoff between how rich and complete the data is one wants to capture (and from how many browsers) and how big one wants to have the bundle :(



Can you make a "lite" module for people who want basic exception handling, perhaps?


In theory it should treeshake down quite well if you use esm modules. Depends obviously on quite a few factors.

Additionally there is another version of the JS SKD dubbed "loader" which lazy loads the real SDK on first use: https://docs.sentry.io/platforms/javascript/#lazy-loading-se...


They have @sentry/minimal as one of the 9 Javascript options : https://github.com/getsentry/sentry-javascript




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: