Opal-Estate-Pro/node_modules/babel-plugin-syntax-class-constructor-call/README.md
2019-09-13 11:27:52 +07:00

509 B
Executable File

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

Allow parsing of do expressions.

Installation

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

Usage

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