Use "loose" option to babel-preset-es2015

This commit is contained in:
Michael Jackson 2017-03-24 17:37:38 -07:00
parent f8c796c8f8
commit fc2eda1576
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"presets": [ "presets": [
"es2015-loose", [ "es2015", { "loose": true } ],
"stage-1", "stage-1",
"react" "react"
], ],

View File

@ -16,7 +16,6 @@
"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",