$ npm install babel-plugin-syntax-function-sent
Allow parsing of the function.sent
meta property.
$ npm install babel-plugin-syntax-function-sent
.babelrc
(Recommended).babelrc
{
"plugins": ["syntax-function-sent"]
}
$ babel --plugins syntax-function-sent script.js
require("babel-core").transform("code", {
plugins: ["syntax-function-sent"]
});
© 2010 - cnpmjs.org x YWFE | Home | YWFE