diff --git a/metro.config.js b/metro.config.js index a49d95f9aa..792262ffc4 100644 --- a/metro.config.js +++ b/metro.config.js @@ -10,15 +10,6 @@ cfg.transformer.getTransformOptions = async () => ({ transform: { experimentalImportSupport: true, inlineRequires: true, - nonInlinedRequires: [ - // We can remove this option and rely on the default after - // https://github.com/facebook/metro/pull/1126 is released. - 'React', - 'react', - 'react/jsx-dev-runtime', - 'react/jsx-runtime', - 'react-native', - ], }, })