Open slowkoder opened 10 months ago
I fell into this rabbit hole today. If vercel happens to compile their nodejs runtime with --with-intl=small-icu
then this might actually be a bug in nodejs itself which I just filed: https://github.com/nodejs/node/issues/51752
This package could implement a workaround but I do not know of a good method to correctly test the level of ICU support, and if there were, it should likely be implemented in string-width
itself so that everyone benefits.
Environment
Reproduction
Describe the bug
When trying to package consola using vercel pkg I get the following error:
See Reproduction for steps to replicate
Additional context
No response
Logs
No response