Skip to content

Instantly share code, notes, and snippets.

@inspireui
Created October 27, 2018 10:03
Show Gist options
  • Save inspireui/504f943c1964ffcb848cb862455c51a5 to your computer and use it in GitHub Desktop.
Save inspireui/504f943c1964ffcb848cb862455c51a5 to your computer and use it in GitHub Desktop.
.babelrc
{
"presets": ["module:metro-react-native-babel-preset"],
"env": {
"production": {
"plugins": [
"transform-remove-console",
["@babel/plugin-proposal-decorators", { "legacy": true }]
]
},
"development": {
"plugins": [
"transform-remove-console",
["@babel/plugin-proposal-decorators", { "legacy": true }]
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment