Skip to content

Commit

Permalink
feat(browser): Ensure browserProfilingIntegration is published to C…
Browse files Browse the repository at this point in the history
…DN (#12158)

Closes #12156
  • Loading branch information
mydea committed May 22, 2024
1 parent 6cb60a3 commit b7699d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser/rollup.bundle.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions packages/browser/src/integrations/browserprofiling.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { browserProfilingIntegration } from '../profiling/integration';
1 change: 1 addition & 0 deletions packages/browser/src/utils/lazyLoadIntegration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const LazyLoadableIntegrations = {
reportingObserverIntegration: 'reportingobserver',
rewriteFramesIntegration: 'rewriteframes',
sessionTimingIntegration: 'sessiontiming',
browserProfilingIntegration: 'browserprofiling',
} as const;

const WindowWithMaybeIntegration = WINDOW as {
Expand Down

0 comments on commit b7699d4

Please sign in to comment.