Skip to content

Latest commit

 

History

History
 
 

babel-plugin-transform-export-extensions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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