Function sent (#6020)

* change back to function-sent

* update stage 2
This commit is contained in:
Henry Zhu 2017-07-26 18:01:40 -04:00 committed by GitHub
parent 5c45753cd6
commit 593cbc1d53
4 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,5 @@
# babel-plugin-transform-function-sent2
# babel-plugin-transform-function-sent
> Publishing as 2 until we get the package
> Compile the `function.sent` meta property, used inside generator functions, to valid ES2015 code.
## Example

View File

@ -1,5 +1,5 @@
{
"name": "babel-plugin-transform-function-sent2",
"name": "babel-plugin-transform-function-sent",
"version": "7.0.0-alpha.17",
"description": "Compile the function.sent meta propety to valid ES2015 code",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-function-sent",

View File

@ -9,7 +9,7 @@
"main": "lib/index.js",
"dependencies": {
"babel-plugin-transform-class-properties": "7.0.0-alpha.17",
"babel-plugin-transform-function-sent2": "7.0.0-alpha.17",
"babel-plugin-transform-function-sent": "7.0.0-alpha.17",
"babel-preset-stage-3": "7.0.0-alpha.17"
}
}

View File

@ -1,7 +1,7 @@
import presetStage3 from "babel-preset-stage-3";
import transformClassProperties from "babel-plugin-transform-class-properties";
import transformFunctionSent from "babel-plugin-transform-function-sent2";
import transformFunctionSent from "babel-plugin-transform-function-sent";
export default function() {
return {