Replace Object.assign with a custom function.
npm install babel-plugin-alter-object-assign   
 
``bash`
yarn add babel-plugin-alter-object-assign
With .babelrc:
`js`
{
"plugins": [
["alter-object-assign", { "objectAssign": "myAssign" }]
]
}
In:
`js`
Object.assign({})
Out:
`js`
myAssign({})
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
babel-plugin-alter-object-assign © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
> egoist.moe · GitHub @EGOIST · Twitter @_egoistlily