babel-plugin-transform-export-default

7.0.0-alpha.20 • Public • Published

babel-plugin-transform-export-default

Compile export-default-from statements to ES2015

Example

export v from 'mod';

Installation

npm install --save-dev babel-plugin-transform-export-default

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["transform-export-default"]
}

Via CLI

babel --plugins transform-export-default script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-export-default"]
});

References

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-transform-export-default

Weekly Downloads

402

Version

7.0.0-alpha.20

License

MIT

Last publish

Collaborators

  • hzoo