diff --git a/packages/browser/rollup.bundle.config.mjs b/packages/browser/rollup.bundle.config.mjs index 16c769582050..278b9cdc1b87 100644 --- a/packages/browser/rollup.bundle.config.mjs +++ b/packages/browser/rollup.bundle.config.mjs @@ -2,7 +2,7 @@ import { makeBaseBundleConfig, makeBundleConfigVariants } from '@sentry-internal const builds = []; -const browserPluggableIntegrationFiles = ['contextlines', 'httpclient', 'reportingobserver']; +const browserPluggableIntegrationFiles = ['contextlines', 'httpclient', 'reportingobserver', 'browserprofiling']; const corePluggableIntegrationFiles = [ 'captureconsole', diff --git a/packages/browser/src/integrations/browserprofiling.ts b/packages/browser/src/integrations/browserprofiling.ts new file mode 100644 index 000000000000..9a6212337f2e --- /dev/null +++ b/packages/browser/src/integrations/browserprofiling.ts @@ -0,0 +1 @@ +export { browserProfilingIntegration } from '../profiling/integration'; diff --git a/packages/browser/src/utils/lazyLoadIntegration.ts b/packages/browser/src/utils/lazyLoadIntegration.ts index f8d12abd93c0..c09bdfa45eae 100644 --- a/packages/browser/src/utils/lazyLoadIntegration.ts +++ b/packages/browser/src/utils/lazyLoadIntegration.ts @@ -20,6 +20,7 @@ const LazyLoadableIntegrations = { reportingObserverIntegration: 'reportingobserver', rewriteFramesIntegration: 'rewriteframes', sessionTimingIntegration: 'sessiontiming', + browserProfilingIntegration: 'browserprofiling', } as const; const WindowWithMaybeIntegration = WINDOW as {