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

@babel/plugin-proposal-export-namespace

Compile export-ns-from statements to ES2015

Example

export * as ns from 'mod';

Installation

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

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

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

Via Node API

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

References

Current Tags

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

4 Versions

  • 7.0.0-beta.32                                ...           3 years ago
  • 7.0.0-beta.31                                ...           3 years ago
  • 7.0.0-beta.5                                ...           3 years ago
  • 7.0.0-beta.4                                ...           3 years ago

Copyright 2014 - 2017 © taobao.org |