Syntax function.sent
This plugin allows Babel to parse the function.sent meta property
Installation
npm install --save-dev babel-plugin-syntax-function-sent
Usage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["syntax-function-sent"]
}
Via CLI
babel --plugins syntax-function-sent script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["syntax-function-sent"]
});
© 2018 Sebastian McKenzie
Licensed under the MIT License.
http://babeljs.io/docs/plugins/syntax-function-sent/