@babel/plugin-proposal-export-namespace

    7.0.0-beta.32 • Public • Published

    @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

    Keywords

    Install

    npm i @babel/plugin-proposal-export-namespace

    DownloadsWeekly Downloads

    361

    Version

    7.0.0-beta.32

    License

    MIT

    Last publish

    Collaborators

    • jlhwung
    • nicolo-ribaudo
    • hzoo
    • loganfsmyth
    • danez
    • existentialism