1- import { browserTracingIntegration as originalBrowserTracingIntegration , startBrowserTracingPageLoadSpan , WINDOW } from '@sentry/browser' ;
1+ import {
2+ browserTracingIntegration as originalBrowserTracingIntegration ,
3+ startBrowserTracingPageLoadSpan ,
4+ WINDOW ,
5+ } from '@sentry/browser' ;
26import type { Integration , TransactionSource } from '@sentry/core' ;
3- import { browserPerformanceTimeOrigin , debug , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN , SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core' ;
7+ import {
8+ browserPerformanceTimeOrigin ,
9+ debug ,
10+ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
11+ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
12+ } from '@sentry/core' ;
413import { DEBUG_BUILD } from '../debug-build' ;
514
615/**
@@ -18,7 +27,7 @@ function getMetaContent(metaName: string): string | undefined {
1827export function browserTracingIntegration (
1928 options : Parameters < typeof originalBrowserTracingIntegration > [ 0 ] = { } ,
2029) : Integration {
21- const integration = originalBrowserTracingIntegration ( { ...options , instrumentPageLoad : false } ) ;
30+ const integration = originalBrowserTracingIntegration ( { ...options , instrumentPageLoad : false } ) ;
2231
2332 return {
2433 ...integration ,
@@ -43,11 +52,11 @@ export function browserTracingIntegration(
4352 } ) ;
4453 }
4554 }
46- }
55+ } ,
4756 } ;
4857}
4958
50- function getPageloadSpanName ( ) : { name : string , source : TransactionSource } {
59+ function getPageloadSpanName ( ) : { name : string ; source : TransactionSource } {
5160 try {
5261 const routeNameFromMetaTags = getMetaContent ( 'sentry-route-name' ) ;
5362 if ( routeNameFromMetaTags ) {
0 commit comments