Created
March 7, 2020 20:53
-
-
Save Falconiere/fe7f78b32ab7ae90c97c2d33f95c9129 to your computer and use it in GitHub Desktop.
This is my config babel for react-native app (I'm using it in my spotify clone)
This file contains hidden or 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: [ | |
[ | |
'module-resolver', | |
{ | |
root: ['./src'], | |
alias: { | |
components: './src/components', | |
assets: './src/assets', | |
themes: './src/themes', | |
views: './src/views', | |
services: './src/services', | |
config: './src/config' | |
} | |
} | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment