@babel/plugin-syntax-export-extensions

    7.0.0-beta.32 • Public • Published

    @babel/plugin-syntax-export-extensions

    Allow parsing of export extensions.

    Installation

    npm install --save-dev @babel/plugin-syntax-export-extensions

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "plugins": ["@babel/syntax-export-extensions"]
    }

    Via CLI

    babel --plugins @babel/syntax-export-extensions script.js

    Via Node API

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

    Keywords

    Install

    npm i @babel/plugin-syntax-export-extensions

    DownloadsWeekly Downloads

    2,883

    Version

    7.0.0-beta.32

    License

    MIT

    Last publish

    Collaborators

    • hzoo
    • existentialism
    • nicolo-ribaudo
    • jlhwung