You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of my projects targets very old specialised browsers, and when readable-stream dependency is brought in the webpack produced code fails to run because of SyntaxError here:
One of my projects targets very old specialised browsers, and when
readable-stream
dependency is brought in the webpack produced code fails to run because ofSyntaxError
here:readable-stream/src/errors.js
Lines 339 to 340 in a2e9aed
Turns out that specialised browser based on WebKit can not parse bigint literals.
I'm not sure if I am missing something but I was not able to find a solution to transpile the bigint literals correctly to target older browsers.
But turns out that the fix could be to avoid bigint literal and use
BigInt
constructor.The text was updated successfully, but these errors were encountered: