0.0.9 • Published 8 years ago
babel-patchwork v0.0.9
babel-plugin-babel-patchwork
like systemjs but different words
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-babel-patchwork
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["babel-patchwork"]
}
Via CLI
$ babel --plugins babel-patchwork script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["babel-patchwork"]
});