Object.assign transform

Installation

$ npm install babel-plugin-transform-object-assign

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-object-assign"]
}