babel-plugin-syntax-class-constructor-call (deprecated)
Allow parsing of do expressions.
Installation
$ npm install babel-plugin-syntax-class-constructor-call
Usage
.babelrc
(Recommended)
Via .babelrc
{
"plugins": ["syntax-class-constructor-call"]
}
Via CLI
$ babel --plugins syntax-class-constructor-call script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["syntax-class-constructor-call"]
});