parent
5c45753cd6
commit
593cbc1d53
@ -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.
|
> Compile the `function.sent` meta property, used inside generator functions, to valid ES2015 code.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "babel-plugin-transform-function-sent2",
|
"name": "babel-plugin-transform-function-sent",
|
||||||
"version": "7.0.0-alpha.17",
|
"version": "7.0.0-alpha.17",
|
||||||
"description": "Compile the function.sent meta propety to valid ES2015 code",
|
"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",
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-function-sent",
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-plugin-transform-class-properties": "7.0.0-alpha.17",
|
"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"
|
"babel-preset-stage-3": "7.0.0-alpha.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import presetStage3 from "babel-preset-stage-3";
|
import presetStage3 from "babel-preset-stage-3";
|
||||||
|
|
||||||
import transformClassProperties from "babel-plugin-transform-class-properties";
|
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() {
|
export default function() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user