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
I've been meaning to add more fine-grained syntax feature control for a while now. This is a good excuse to do it. I'm adding more options for --target so you can now say --target=node10.4 instead of --target=es2018 and have it do the right thing. This hasn't been released yet but will be released soon.
When bundling for with
--platform=node --target=es2018
, I'm getting the error:BigInt are supported natively in Node since version 10.4, but some ES2020 syntaxes are not supported (ex: optional chaining).
It may be interesting as a workaround to not throw this error and output native BigInt if
--platform=node
.The text was updated successfully, but these errors were encountered: