Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(@angular-devkit/build-angular): use esbuild-based builder to dir…
…ectly downlevel for await...of 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.
- Loading branch information
Showing
2 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters