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.
|
||||
|
||||
## Example
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user