💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Configuration file name
No response
Configuration
No response
Current and expected behavior
input.js is terminated normally:
$ node input.js # no error
but under noNewArrow assumption, Babel fails to transpile input.js:
By the way, when I used variable declaration instead of assignment expression, (var x = async x => 0) the transpilation terminates normally.
Environment
- Babel version: 7.19.1
- Node: v18.11.0
- npm version: 8.19.2
- OS: macos 12.4
Possible solution
No response
Additional context
No response