Created
June 15, 2017 20:08
-
-
Save fourcolors/f278db1b40138c690905f98cd8795b57 to your computer and use it in GitHub Desktop.
Example for create react native app with alias
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
{ | |
"presets": ["babel-preset-expo"], | |
"env": { | |
"development": { | |
"plugins": | |
["transform-react-jsx-source", | |
["module-resolver",{ | |
"root": ["./src"], | |
"alias": { | |
"screens": "./screens" | |
} | |
} | |
] | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Helped me! 👍