Config file format cleanup

This commit is contained in:
Jordan Eldredge 2017-06-09 17:26:01 -07:00
parent 9e582092e1
commit 3dbee65dcd
2 changed files with 18 additions and 9 deletions

View File

@ -1,13 +1,22 @@
{
"presets": [
"react",
["es2015", {modules: false}]
],
"plugins": ["transform-object-rest-spread"],
"env": {
"test": {
"presets": ["react", "es2015"],
[
"es2015",
{
"modules": false
}
]
],
"plugins": [
"transform-object-rest-spread"
],
"env": {
"test": {
"presets": [
"react",
"es2015"
]
}
}
}
}

View File

@ -5,7 +5,7 @@
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
}
},
"plugins": [
"react",