ES2015 modules to CommonJS transform

This plugin transforms ES2015 modules to CommonJS.

CommonJS (CJS) Modules/1.1

Installation

$ npm install babel-plugin-transform-es2015-modules-commonjs

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-es2015-modules-commonjs"]
}