@babel/plugin-syntax-export-extensions

Allow parsing of export extensions

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@babel/plugin-syntax-export-extensions
Minified + gzip package size for @babel/plugin-syntax-export-extensions in KB

Readme

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

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.