Skip to content

Commit 5c5130a

Browse files
committed
poke integration exports to see if tree-shaking is affected
1 parent 55500be commit 5c5130a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

packages/browser/src/feedback.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@ import {
22
buildFeedbackIntegration,
33
feedbackModalIntegration,
44
feedbackScreenshotIntegration,
5-
getFeedback,
6-
sendFeedback,
75
} from '@sentry-internal/feedback';
86
import { lazyLoadIntegration } from './utils/lazyLoadIntegration';
97

108
// The full feedback widget, with everything pre-loaded
11-
const feedbackIntegration = buildFeedbackIntegration({
9+
export const feedbackIntegration = buildFeedbackIntegration({
1210
lazyLoadIntegration,
1311
getModalIntegration: () => feedbackModalIntegration,
1412
getScreenshotIntegration: () => feedbackScreenshotIntegration,
1513
});
1614

1715
// This is for users who want to have a lazy-loaded feedback widget
18-
const feedbackAsyncIntegration = buildFeedbackIntegration({
16+
export const feedbackAsyncIntegration = buildFeedbackIntegration({
1917
lazyLoadIntegration,
2018
getModalIntegration: null,
2119
getScreenshotIntegration: null,
2220
});
23-
24-
export { getFeedback, sendFeedback, feedbackIntegration, feedbackAsyncIntegration };

packages/browser/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ export { replayCanvasIntegration } from '@sentry-internal/replay-canvas';
3333
export {
3434
feedbackAsyncIntegration,
3535
feedbackIntegration,
36+
} from './feedback';
37+
export {
3638
getFeedback,
3739
sendFeedback,
38-
} from './feedback';
40+
} from '@sentry-internal/feedback';
3941

4042
export {
4143
defaultRequestInstrumentationOptions,

0 commit comments

Comments
 (0)