0.0.5 • Published 6 years ago

babel-plugin-react-magicd v0.0.5

Weekly downloads
17
License
-
Repository
github
Last release
6 years ago

babel-plugin-magic-d

a magic konjac

Example

In

// input code

Out

"use strict";

// output code

Installation

$ npm install babel-plugin-magic-d

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["magic-d"]
}

Via CLI

$ babel --plugins magic-d script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["magic-d"]
});