NTP-7916 | React Native Version Bump (#1011)
Co-authored-by: varnit goyal <github.cicd@navi.com> Co-authored-by: Varnit Goyal <varnit.goyal@navi.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
||||
const { withSentryConfig } = require('@sentry/react-native/metro');
|
||||
|
||||
/**
|
||||
@@ -7,7 +8,7 @@ const { withSentryConfig } = require('@sentry/react-native/metro');
|
||||
* @format
|
||||
*/
|
||||
|
||||
module.exports = withSentryConfig({
|
||||
const config = withSentryConfig({
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
@@ -17,3 +18,5 @@ module.exports = withSentryConfig({
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
||||
|
||||
Reference in New Issue
Block a user