unshift source exts

This commit is contained in:
Samuel Newman
2026-07-13 19:23:56 +03:00
parent 060ad73e1f
commit ee47ac0d12
+1 -1
View File
@@ -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']