babel-plugin-transform-export-default
Compile export default to ES2015
Last updated 5 years ago .
· Repository · Original npm · Tarball · package.json
$ cnpm install babel-plugin-transform-export-default 
SYNC missed versions from official npm registry.

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

Current Tags

  • 7.0.0-alpha.20                                ...           latest (5 years ago)
  • 7.0.0-beta.3                                ...           next (5 years ago)

5 Versions

  • 7.0.0-alpha.20                                ...           5 years ago
  • 7.0.0-beta.0                                ...           5 years ago
  • 7.0.0-beta.1                                ...           5 years ago
  • 7.0.0-beta.2                                ...           5 years ago
  • 7.0.0-beta.3                                ...           5 years ago
Maintainers (1)
Dependencies (1)
Dev Dependencies (1)

Copyright © npmmirror.com | 浙ICP备15033595号-63 |