README.md
414 Bytes
babel-plugin-jscript
Babel plugin to fix buggy JScript named function expressions
Installation
$ npm install babel-plugin-jscript
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["jscript"]
}
Via CLI
$ babel --plugins jscript script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["jscript"]
});