babelrc is separate file

pull/53/head
unknown 2019-04-14 20:51:23 -04:00
parent f963758a4b
commit ae839b893b
2 changed files with 7 additions and 18 deletions

View File

@ -1,11 +1,15 @@
{ {
"presets": [ "presets": [
[ [
"@babel/preset-env", { "@babel/preset-env",
"useBuiltIns": "usage" {
"useBuiltIns": "usage",
"corejs": 2
} }
], ],
"@babel/preset-react" "@babel/preset-react"
], ],
"plugins": ["@babel/plugin-proposal-object-rest-spread"], "plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
} }

View File

@ -103,20 +103,5 @@
"mocha" "mocha"
], ],
"parser": "babel-eslint" "parser": "babel-eslint"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 2
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread"
]
} }
} }