Babel
  • Docs
  • Setup
  • Try it out
  • Videos
  • Blog
  • Donate
  • Team
  • GitHub
Edit

@babel/plugin-external-helpers

npm install --save-dev @babel/plugin-external-helpers

Usage

With a configuration file (Recommended)

{
  "plugins": ["@babel/plugin-external-helpers"]
}

Via CLI

babel --plugins @babel/plugin-external-helpers script.js

Via Node API

require("@babel/core").transformSync("code", {
  plugins: ["@babel/plugin-external-helpers"]
});
  • Usage
    • With a configuration file (Recommended)
    • Via CLI
    • Via Node API
Babel
Docs
Learn ES2015
Community
VideosUser ShowcaseStack OverflowSlack ChannelTwitter
More
BlogGitHub OrgGitHub RepoWebsite RepoOld 6.x SiteOld 5.x Site