Skip to content

Conversation

@AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Mar 6, 2023

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 effect
import * as Tracing from '@sentry/tracing';

// no side effect
import { BrowserTracing } from '@sentry/tracing/browser';

// no side effect
import { Prisma } from '@sentry/tracing/node';

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2023

size-limit report 📦

Path Size
@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 develop Mar 7, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-tracing-exports branch March 7, 2023 11:45
Sign up for free to 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.

3 participants