Skip to content

Commit 41ed14b

Browse files
committed
Disable Metro experimentalImportSupport
1 parent e2e96b7 commit 41ed14b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

metro.config.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ module.exports = {
88
getTransformOptions: async () => ({
99
transform: {
1010
/**
11-
* "If you are brave, turn the two flags to `true` which may bring significant perf improvements"
12-
* More: https://github.com/zertosh/babel-plugin-transform-inline-imports-commonjs#details
13-
* May require disabling with other libraries like Storybook, React Navigation, etc until supported.
14-
*/
15-
experimentalImportSupport: true,
11+
* "If you are brave, turn the two flags to `true` which may bring significant perf improvements"
12+
* More: https://github.com/zertosh/babel-plugin-transform-inline-imports-commonjs#details
13+
* May require disabling with other libraries like Storybook, React Navigation, etc until supported.
14+
*/
15+
experimentalImportSupport: false,
1616
inlineRequires: true
1717
}
1818
})

0 commit comments

Comments
 (0)