Open clhiker opened 2 years ago
Hey @clhiker! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.
@clhiker
Is that issue fixed, currently I am also facing the issue.
@LavanyaBurlagadda Can you provide a minimal reproducible code?
I investigated again and found that this issue may be difficult to fix. Fortunately this is relatively rare and anyone who encounters this problem can disable https://babel.dev/docs/assumptions#noclasscalls to solve it.
I investigated again and found that this issue may be difficult to fix. Fortunately this is relatively rare and anyone who encounters this problem can disable https://babel.dev/docs/assumptions#noclasscalls to solve it.
Solved my problem
π»
How are you using Babel?
@babel/cli
Input code
Here is REPL
Configuration file name
babel.config.json
Configuration
Current and expected behavior
After transforming by babel, the code throw a error:
But the original code can be run correctly by node.
Environment
Possible solution
No response
Additional context
No response