Related #2320 (comment)
The calculation of the lingui id is using js only cryptography, to be able to use this in browser. Performance could be improved for the nodejs execution using nodejs built-in methods.
We can create node-only and browser-only version of these packages using exports condition https://nodejs.org/api/packages.html#conditional-exports