Skip to content

Commit

Permalink
Disable Metro experimentalImportSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Aug 3, 2022
1 parent e2e96b7 commit 41ed14b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
Expand Down

0 comments on commit 41ed14b

Please sign in to comment.