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