Skip to content

Commit f2f0d83

Browse files
committed
remove hard-coded feedback imports to check size report
1 parent 55500be commit f2f0d83

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

packages/browser/src/feedback.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import {
22
buildFeedbackIntegration,
3-
feedbackModalIntegration,
4-
feedbackScreenshotIntegration,
3+
// feedbackModalIntegration,
4+
// feedbackScreenshotIntegration,
55
getFeedback,
66
sendFeedback,
77
} from '@sentry-internal/feedback';
88
import { lazyLoadIntegration } from './utils/lazyLoadIntegration';
99

1010
// The full feedback widget, with everything pre-loaded
11-
const feedbackIntegration = buildFeedbackIntegration({
12-
lazyLoadIntegration,
13-
getModalIntegration: () => feedbackModalIntegration,
14-
getScreenshotIntegration: () => feedbackScreenshotIntegration,
15-
});
11+
// const feedbackIntegration = buildFeedbackIntegration({
12+
// lazyLoadIntegration,
13+
// getModalIntegration: () => feedbackModalIntegration,
14+
// getScreenshotIntegration: () => feedbackScreenshotIntegration,
15+
// });
1616

1717
// This is for users who want to have a lazy-loaded feedback widget
1818
const feedbackAsyncIntegration = buildFeedbackIntegration({
@@ -21,4 +21,5 @@ const feedbackAsyncIntegration = buildFeedbackIntegration({
2121
getScreenshotIntegration: null,
2222
});
2323

24+
const feedbackIntegration = feedbackAsyncIntegration;
2425
export { getFeedback, sendFeedback, feedbackIntegration, feedbackAsyncIntegration };

0 commit comments

Comments
 (0)