babel-plugin-alter-object-assign
v1.0.2
Published
Replace Object.assign with a custom function.
Downloads
18,243
Readme
babel-plugin-alter-object-assign
Install
yarn add babel-plugin-alter-object-assign
Usage
With .babelrc
:
{
"plugins": [
["alter-object-assign", { "objectAssign": "myAssign" }]
]
}
In:
Object.assign({})
Out:
myAssign({})
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
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