This bug was introduced in #572, meant to be a fix on its own. However, it doesn't take into account that process === undefined will fail in the browser.
Some bundlers will probably mitigate this, but when using Vite (or no bundler at all), the code will fail.
This bug was introduced in #572, meant to be a fix on its own. However, it doesn't take into account that
process === undefined
will fail in the browser.Some bundlers will probably mitigate this, but when using Vite (or no bundler at all), the code will fail.