Use babel-preset-env
This commit is contained in:
parent
1a9bc13397
commit
b3596e8cff
12
.babelrc
12
.babelrc
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
["env", {
|
||||||
"es2015",
|
"targets": {
|
||||||
{
|
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
||||||
"modules": false
|
},
|
||||||
}
|
"modules": false
|
||||||
]
|
}]
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"external-helpers"
|
"external-helpers"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -24,7 +24,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.26.0",
|
"babel-cli": "^6.26.0",
|
||||||
"babel-plugin-external-helpers": "^6.22.0",
|
"babel-plugin-external-helpers": "^6.22.0",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"babel-preset-env": "^1.6.1",
|
||||||
"jshint": "^2.9.5",
|
"jshint": "^2.9.5",
|
||||||
"rollup": "^0.50.0",
|
"rollup": "^0.50.0",
|
||||||
"rollup-plugin-babel": "^3.0.2",
|
"rollup-plugin-babel": "^3.0.2",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue