-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Problem Statement
We have both https://github.com/getsentry/sentry-javascript/tree/master/packages/hub and https://github.com/getsentry/sentry-javascript/tree/master/packages/core, and there should never be a situation where you import @sentry/hub
and you aren't using @sentry/core
. As such, we should just consolidate this into 1 package (move everything in @sentry/hub
into @sentry/core
.)
- Less stuff to download from npm
- Less chance of versions getting out of sync
- Easy to understand core -> browser -> react -> nextjs (linear deps)
- Possible bundle size reduction from removing module boundaries
lobsterkatieLms24 and timfish