Skip to content

Instantly share code, notes, and snippets.

@sivadass
Created September 17, 2018 02:46
Show Gist options
  • Save sivadass/97434b5354d9d8a50f13c78cff651d56 to your computer and use it in GitHub Desktop.
Save sivadass/97434b5354d9d8a50f13c78cff651d56 to your computer and use it in GitHub Desktop.
Babel Configuration for React
{
"presets": [
[
"env",
{
"targets": {
"browsers": ["last 2 versions"]
},
"debug": true
}
],
"react",
"stage-2"
],
"plugins": ["transform-runtime"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment