@babel/plugin-proposal-export-default
Compile export default to ES2015
Last updated 7 years ago by hzoo .
MIT · Repository · Original npm · Tarball · package.json
$ npm install @babel/plugin-proposal-export-default 
SYNC missed versions from official npm registry.

@babel/plugin-proposal-export-default

Compile export-default-from statements to ES2015

Example

export v from 'mod';

Installation

npm install --save-dev @babel/plugin-proposal-export-default

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["@babel/proposal-export-default"]
}

Via CLI

babel --plugins @babel/proposal-export-default script.js

Via Node API

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

References

Current Tags

  • 7.0.0-beta.32                                ...           latest (7 years ago)

4 Versions

  • 7.0.0-beta.32                                ...           7 years ago
  • 7.0.0-beta.31                                ...           7 years ago
  • 7.0.0-beta.5                                ...           7 years ago
  • 7.0.0-beta.4                                ...           7 years ago
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE