babel-plugin-split
v1.0.0
Published
Downloads
1
Readme
babel-plugin-split
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-split
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["split"]
}
Via CLI
$ babel --plugins split script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["split"]
});