Replace uuid with nanoid to reduce the bundle size
0xdevalias opened this issue · comments
Glenn 'devalias' Grant commented
One the same lines moving away from
uuid
and towardnanoid
will further reduce bundle sizeOriginally posted by @atomicpages in #149 (comment)
One the same lines moving away from
uuid
and towardnanoid
will further reduce bundle sizePlease! I was just about to say the same, then saw this comment.
Originally posted by @0xdevalias in #149 (comment)
For some visual stats, according to bundlephobia
, 1.5%
(~2.46kB
) of this lib's 160.8kB
(min) size comes from uuid
:
(see #149 (comment) + #178 for the issue + PR to fix the size issues related to joi
)
Carlos commented
nanoid is merged, can this be closed than?