rm nonrequired inlines from metro config
This commit is contained in:
@@ -10,15 +10,6 @@ cfg.transformer.getTransformOptions = async () => ({
|
|||||||
transform: {
|
transform: {
|
||||||
experimentalImportSupport: true,
|
experimentalImportSupport: true,
|
||||||
inlineRequires: 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',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user