hanbi icon indicating copy to clipboard operation
hanbi copied to clipboard

no result for bundlephobia

Open daKmoR opened this issue 3 years ago • 4 comments

https://bundlephobia.com/result?p=hanbi

would be nice if it would give a size... so we can "proof" how small it is 🤗

daKmoR avatar Dec 04 '20 08:12 daKmoR

Have opened pastelsky/bundlephobia#432 , lets see if they can tell us what the actual error was since the logged one contains no useful information 🙈

I also suspect it'll be larger than it really is, because we have to ship both ESM and CJS. otherwise we end up with fake-ESM (the kind that only works in node)

43081j avatar Dec 04 '20 10:12 43081j

it's working now

image

micalevisk avatar Feb 13 '22 19:02 micalevisk

@43081j you could add the following badge in the README as well

[![npm bundle size](https://img.shields.io/bundlephobia/minzip/hanbi.svg)](https://www.npmjs.com/package/hanbi)

npm bundle size :sparkles:

micalevisk avatar Feb 13 '22 19:02 micalevisk

Awesome :D

It's unfortunate I have to ship a commonjs version. It's literally 2x the actual size because of that. May consider dropping cjs in a major release 🤔

43081j avatar Feb 13 '22 19:02 43081j