rm nonrequired inlines from metro config

This commit is contained in:
Hailey
2024-04-27 23:20:44 -07:00
parent ac8fb3260b
commit 0daebc1d98
-9
View File
@@ -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',
],
},
})