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

@@ -46,7 +46,8 @@
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-preset-react": "^6.11.1",
"babel-plugin-syntax-jsx": "^6.13.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"cross-zip": "^2.0.1",
"electron-osx-sign": "^0.3.0",
"electron-packager": "^7.0.0",