c5fd23b54f | ||
---|---|---|
.. | ||
lib | ||
.npmignore | ||
README.md | ||
package.json |
README.md
babel-plugin-external-helpers
Installation
npm install --save-dev babel-plugin-external-helpers
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["external-helpers"]
}
Via CLI
babel --plugins external-helpers script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["external-helpers"]
});