Created
May 15, 2019 05:45
-
-
Save owjhart/90a572a74cb4a9ee15c7a33b93cd541f to your computer and use it in GitHub Desktop.
Example babel.config.js for react-native
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', | |
'@babel/env', | |
'@babel/preset-typescript', | |
], | |
plugins: [ | |
'@babel/proposal-class-properties', | |
'@babel/proposal-object-rest-spread' | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment