diff options
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/babel.config.js b/babel.config.js index 706fdff5c..a38edf1d6 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,7 +1,14 @@ module.exports = function (api) { api.cache(true) return { - presets: ['babel-preset-expo'], + presets: [ + [ + 'babel-preset-expo', + { + lazyImports: true, + }, + ], + ], plugins: [ [ 'module:react-native-dotenv', |