Created
February 18, 2019 16:11
-
-
Save diego3g/19648c3ddb3d8232f775b20ed8ba6282 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
presets: ["module:metro-react-native-babel-preset"], | |
plugins: [ | |
[ | |
"babel-plugin-root-import", | |
{ | |
"rootPathSuffix": "src" | |
} | |
] | |
], | |
env: { | |
"production": { | |
"plugins": [ | |
[ | |
"babel-plugin-root-import", | |
{ | |
"rootPathSuffix": "src" | |
} | |
] | |
] | |
}, | |
"test": { | |
"plugins": [ | |
[ | |
"babel-plugin-root-import", | |
{ | |
"rootPathSuffix": "src" | |
} | |
] | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment