@babel/plugin-proposal-export-default

Compile export default to ES2015

Stats

StarsIssuesVersionUpdatedCreatedSize
@babel/plugin-proposal-export-default
37,4688127.0.0-beta.324 years ago4 years agoMinified + gzip package size for @babel/plugin-proposal-export-default in KB

Readme

@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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.