chore(xo-server): use sepecific Babel plugins instead of stage-0 (#2694)

This commit is contained in:
Julien Fontanet 2018-02-28 12:59:23 +01:00 committed by GitHub
parent ded1127d64
commit c38c716616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -121,9 +121,12 @@
"babel-core": "^6.26.0",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"cross-env": "^5.1.3",
"index-modules": "^0.3.0",
"rimraf": "^2.6.2"
@ -141,6 +144,9 @@
"plugins": [
"lodash",
"transform-decorators-legacy",
"transform-export-extensions",
"transform-function-bind",
"transform-object-rest-spread",
"transform-runtime"
],
"presets": [
@ -152,7 +158,7 @@
}
}
],
"stage-0"
"flow"
]
}
}

View File

@ -1786,7 +1786,7 @@ babel-plugin-transform-function-bind@^6.22.0:
babel-plugin-syntax-function-bind "^6.8.0"
babel-runtime "^6.22.0"
babel-plugin-transform-object-rest-spread@^6.22.0:
babel-plugin-transform-object-rest-spread@^6.22.0, babel-plugin-transform-object-rest-spread@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06"
dependencies: