@unisharp/babel-plugin

1.0.2 • Public • Published

babel-plugin-plugin

Example

In

// input code

Out

"use strict";

// output code

Installation

$ npm install babel-plugin-plugin

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["plugin"]
}

Via CLI

$ babel --plugins plugin script.js

Via Node API

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

Dependents (1)

Package Sidebar

Install

npm i @unisharp/babel-plugin

Weekly Downloads

2

Version

1.0.2

License

none

Unpacked Size

3.65 kB

Total Files

3

Last publish

Collaborators

  • unisharp