Skip to content

ref(tracing): Re-organize exports for node/browser - #7345

Merged
AbhiPrasad merged 13 commits into
developfrom
abhi-tracing-exports
Mar 7, 2023
Merged

ref(tracing): Re-organize exports for node/browser#7345
AbhiPrasad merged 13 commits into
developfrom
abhi-tracing-exports

Conversation

@AbhiPrasad

@AbhiPrasadAbhiPrasad commented Mar 6, 2023

Copy link
Copy Markdown
Contributor

In prep for #5815, let's re-organize the exports for node/browser in @sentry/tracing.

There are now 3 main exports from @sentry/tracing:

// has hub extensions side effectimport*asTracingfrom'@sentry/tracing';// no side effectimport{BrowserTracing}from'@sentry/tracing/browser';// no side effectimport{Prisma}from'@sentry/tracing/node';

Comment threadpackages/tracing/src/node/index.ts Outdated
Comment threadpackages/tracing/src/node/integrations/apollo.ts Outdated
@github-actions

github-actionsBot commented Mar 7, 2023

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize
@sentry/browser - ES5 CDN Bundle (gzipped + minified)20.12 KB (-0.01% 🔽)
@sentry/browser - ES5 CDN Bundle (minified)62.55 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified)18.76 KB (-0.02% 🔽)
@sentry/browser - ES6 CDN Bundle (minified)55.53 KB (0%)
@sentry/browser - Webpack (gzipped + minified)20.5 KB (0%)
@sentry/browser - Webpack (minified)66.99 KB (0%)
@sentry/react - Webpack (gzipped + minified)20.53 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified)48.2 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified)27.2 KB (+0.01% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified)25.46 KB (+0.01% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified)43.06 KB (0%)
@sentry/replay - Webpack (gzipped + minified)37.1 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified)60.8 KB (0%)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified)54.19 KB (0%)

@AbhiPrasad
AbhiPrasad merged commit dc696c0 into developMar 7, 2023
@AbhiPrasad
AbhiPrasad deleted the abhi-tracing-exports branch March 7, 2023 11:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@AbhiPrasad@mydea