mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
esbuild 0.15.6 now supports transforming `for await..of` syntax and will now be used instead of babel when the syntax is found within code that will be bundled. Zone.js requires that all async/await related code be downleveled to properly hook promise callbacks. esbuild does not yet support transforming async generators and so babel is still used when async generator syntax is detected in an input file. esbuild 0.15.6 also adjusted the `supported` option to imply that all dependent features of a disabled feature are disabled as well. For the CLI, this allows only needing to specify that `async-await` is disabled in the esbuild options.