Enable inline requires (#1756)
This commit is contained in:
parent
a1a61ef2e5
commit
46f3265936
2 changed files with 16 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue