babel-plugin-alter-object-assign

Replace Object.assign with a custom function.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-alter-object-assign
1.0.26 years ago6 years agoMinified + gzip package size for babel-plugin-alter-object-assign in KB

Readme

babel-plugin-alter-object-assign
NPM version NPM downloads CircleCI codecov donate chat

Install

yarn add babel-plugin-alter-object-assign

Usage

With .babelrc:
{
  "plugins": [
    ["alter-object-assign", { "objectAssign": "myAssign" }]
  ]
}

In:
Object.assign({})

Out:
myAssign({})

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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