enable annotating react components

This commit is contained in:
Samuel Newman
2026-07-13 18:16:01 +03:00
parent 4da8dc5a7e
commit be15fbfb89
+3 -1
View File
@@ -6,7 +6,9 @@ import {getSentryExpoConfig} from '@sentry/react-native/metro.js'
const config = getSentryExpoConfig(import.meta.dirname, {
// TODO: confirm this doesn't break anything when we switch to metro web
includeWebReplay: true,
annotateReactComponents: {
textComponentNames: ['Text', 'ButtonText'],
},
getDefaultConfig: (projectRoot, options) => {
const config = getDefaultConfig(projectRoot, options)