syntax-tree/unist-builder

Investigate whether `object.assign` could be replaced with `xtend`

wooorm opened this issue · 4 comments

...or similar.

I was just checking some sizes of libs I’m making and found that object.assign adds about half of the size: object.assign is 7kb, minified; 2.58kb, gzipped.

I known, I know, it’s all not a lot, and I’m nitpicking 😉

Sure!

How about object-assign? It is small and has an ES spec behind.

That works for me too! 👍

Published in 1.0.2. Thanks!

❤️