From 892ef8139bb39fec74260a1428d95396a50ce8c6 Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 17 Nov 2024 18:08:49 +0000 Subject: [PATCH] Exclude React Compiler runtime from inline requires --- packages/metro/src/lib/transformHelpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/metro/src/lib/transformHelpers.js b/packages/metro/src/lib/transformHelpers.js index 982b39e03d..0e56e5adab 100644 --- a/packages/metro/src/lib/transformHelpers.js +++ b/packages/metro/src/lib/transformHelpers.js @@ -41,6 +41,7 @@ const baseIgnoredInlineRequires = [ 'react', 'react/jsx-dev-runtime', 'react/jsx-runtime', + 'react-compiler-runtime', 'react-native', ];