From ee47ac0d123915ea6735e530baa0619978c2be0c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 13 Jul 2026 19:23:56 +0300 Subject: [PATCH] unshift source exts --- metro.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metro.config.ts b/metro.config.ts index 51b1cbbafa..070188c7c7 100644 --- a/metro.config.ts +++ b/metro.config.ts @@ -14,7 +14,7 @@ const config = getSentryExpoConfig(import.meta.dirname, { if (typeof process.env.RN_SRC_EXT === 'string') { // inject `.e2e.ts` and `.e2e.tsx` into the sourceExts when running tests) - config.resolver.sourceExts.push(...process.env.RN_SRC_EXT.split(',')) + config.resolver.sourceExts.unshift(...process.env.RN_SRC_EXT.split(',')) } config.resolver.assetExts = [...config.resolver.assetExts, 'woff2']