Use es2015-loose
This commit is contained in:
parent
a53b76e398
commit
80caaa5495
|
@ -17,6 +17,7 @@
|
||||||
"babel-loader": "^6.2.4",
|
"babel-loader": "^6.2.4",
|
||||||
"babel-plugin-transform-object-assign": "^6.8.0",
|
"babel-plugin-transform-object-assign": "^6.8.0",
|
||||||
"babel-preset-es2015": "^6.6.0",
|
"babel-preset-es2015": "^6.6.0",
|
||||||
|
"babel-preset-es2015-loose": "^7.0.0",
|
||||||
"babel-preset-react": "^6.5.0",
|
"babel-preset-react": "^6.5.0",
|
||||||
"babel-preset-stage-1": "^6.5.0",
|
"babel-preset-stage-1": "^6.5.0",
|
||||||
"byte-size": "^2.0.0",
|
"byte-size": "^2.0.0",
|
||||||
|
@ -64,9 +65,9 @@
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
"es2015",
|
"es2015-loose",
|
||||||
"react",
|
"stage-1",
|
||||||
"stage-1"
|
"react"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"transform-object-assign"
|
"transform-object-assign"
|
||||||
|
|
Loading…
Reference in New Issue