babel-plugin-transform-es3-helper-modules

6.1.1 • Public • Published

babel-plugin-transform-es3-helper-modules

Externalize references to helpers using babel-helper-modules-es3.

If you want to externalize builtins too via core-js's library, see the official plugin babel-plugin-transform-runtime.

Installation

$ npm install babel-plugin-transform-es3-helper-modules babel-helper-modules-es3

Usage

Remember to also install babel-helper-modules-es3. when using the transpiled code.

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-es3-helper-modules"]
}

Via CLI

$ babel --plugins transform-es3-helper-modules script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-es3-helper-modules"]
});

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-transform-es3-helper-modules

Weekly Downloads

2

Version

6.1.1

License

MIT

Last publish

Collaborators

  • inferpse