feat: add Sentry error tracking and Expo Updates

This commit is contained in:
2026-08-08 15:10:12 +02:00
parent 0aa61ab7e8
commit 7ae2711e4b
14 changed files with 898 additions and 7 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
const { getDefaultConfig } = require("expo/metro-config");
const { withNativewind } = require("nativewind/metro");
const { withSentry } = require("@sentry/react-native/metro");
/** @type {import('expo/metro-config').MetroConfig} */
const config = getDefaultConfig(__dirname);
@@ -14,7 +15,7 @@ config.transformer.getTransformOptions = async () => ({
},
});
module.exports = withNativewind(config, {
module.exports = withSentry(withNativewind(config, {
// Ensure .sql files are not processed as CSS
inlineRem: false,
});
}));