diff --git a/metro.config.js b/metro.config.js index e6354c9e9..e60304a49 100644 --- a/metro.config.js +++ b/metro.config.js @@ -8,11 +8,11 @@ module.exports = { getTransformOptions: async () => ({ transform: { /** - * "If you are brave, turn the two flags to `true` which may bring significant perf improvements" - * More: https://github.com/zertosh/babel-plugin-transform-inline-imports-commonjs#details - * May require disabling with other libraries like Storybook, React Navigation, etc until supported. - */ - experimentalImportSupport: true, + * "If you are brave, turn the two flags to `true` which may bring significant perf improvements" + * More: https://github.com/zertosh/babel-plugin-transform-inline-imports-commonjs#details + * May require disabling with other libraries like Storybook, React Navigation, etc until supported. + */ + experimentalImportSupport: false, inlineRequires: true } })