@babel/plugin-syntax-export-extensions
Allow parsing of export extensions
Last updated 3 years ago by hzoo .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @babel/plugin-syntax-export-extensions 
SYNC missed versions from official npm registry.

@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"]
});

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 - 2016 © taobao.org |