README.md 509 Bytes

babel-plugin-syntax-class-constructor-call (deprecated)

Allow parsing of do expressions.

Installation

$ npm install babel-plugin-syntax-class-constructor-call

Usage

Via .babelrc (Recommended)

.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"]
});