Revert "Fix babel-preset-env
implementation (#765)"
This reverts commit ddbfae6b3940a161886f590295d5cfa6bf58b2e0.
This commit is contained in:
parent
862eeb14ca
commit
5bae5319fd
21
.babelrc
21
.babelrc
@ -1,18 +1,7 @@
|
||||
{
|
||||
"presets": [
|
||||
["env", {
|
||||
"modules": false,
|
||||
"targets": {
|
||||
"browsers": [
|
||||
"last 2 Chrome versions",
|
||||
"last 2 Opera versions",
|
||||
"last 2 Firefox versions",
|
||||
"last 2 Edge versions",
|
||||
"last 2 Safari versions",
|
||||
"last 2 iOS versions",
|
||||
"last 2 ChromeAndroid versions"
|
||||
]
|
||||
}
|
||||
"modules": false
|
||||
}],
|
||||
"react"
|
||||
],
|
||||
@ -57,13 +46,7 @@
|
||||
],
|
||||
"env": {
|
||||
"test": {
|
||||
"presets": [
|
||||
["env", {
|
||||
"targets": {
|
||||
"node": "6"
|
||||
}
|
||||
}]
|
||||
]
|
||||
"plugins": ["transform-es2015-modules-commonjs"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user