babel-plugin-transform-export-extensions

Compile export extensions to ES2015

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-transform-export-extensions
6.22.06 years ago7 years agoMinified + gzip package size for babel-plugin-transform-export-extensions in KB

Readme

babel-plugin-transform-export-extensions
Compile export extensions to ES2015

Installation

$ npm install babel-plugin-transform-export-extensions

Usage

Via .babelrc (Recommended)

.babelrc
{
  "plugins": ["transform-export-extensions"]
}

Via CLI

$ babel --plugins transform-export-extensions script.js

Via Node API

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