Simplify babel integration further

The "react" preset is composed of a bunch of plugins.
https://babeljs.io/docs/plugins/preset-react/

Turns out, we only need 2 of them, not all 5.
This commit is contained in:
Feross Aboukhadijeh
2016-08-04 21:37:53 -07:00
parent 9b36f9cb22
commit 7531ab4623
3 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
{
"presets": [
"react"
"plugins": [
"syntax-jsx",
"transform-react-jsx"
]
}