UNPKG

babel-plugin-external-helpers

Version:

This plugin contains helper functions that’ll be placed at the top of the generated code

34 lines (23 loc) 404 B
# babel-plugin-external-helpers ## Installation ```sh npm install --save-dev babel-plugin-external-helpers ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["external-helpers"] } ``` ### Via CLI ```sh babel --plugins external-helpers script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["external-helpers"] }); ```