Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 477 Bytes

File metadata and controls

33 lines (23 loc) · 477 Bytes

babel-plugin-transform-class-constructor-call

Installation

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-class-constructor-call"]
}

Via CLI

$ babel --plugins transform-class-constructor-call script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-class-constructor-call"]
});