From 155001d525dfb8f022d5e00b89b74a456e19d3d2 Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Mon, 6 Apr 2026 11:43:44 +0200 Subject: [PATCH] refactor(expotv): enable Expo autolinking module resolution This aligns Metros own module resolution with the core libraries resolved from autolinking. It makes working in a monorepo easier and more stable when using multiple versions of React Native. This is an opt-in for SDK 54, and is enabled by default in SDK 55. See: https://docs.expo.dev/versions/latest/config/app/\#autolinkingmoduleresolution See: https://docs.expo.dev/modules/autolinking/\#dependency-resolution-and-conflicts See: https://docs.expo.dev/guides/monorepos/\#deduplicating-auto-linked-native-modules --- packages/expotv/app.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/expotv/app.json b/packages/expotv/app.json index fec0385..7b250ec 100644 --- a/packages/expotv/app.json +++ b/packages/expotv/app.json @@ -48,6 +48,7 @@ "output": "static" }, "experiments": { + "autolinkingModuleResolution": true, "typedRoutes": true }, "newArchEnabled": true,