google / google/closure-compiler
Option to enable rewriteAsyncFunctions regardles of transpilation target.
Open
feat
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
Zone.js needs async functions to be transpiled. Other libraries like OpenTelemetry and Angular need zone.js.
It would be nice if there was a command line flag to enable rewriteAsyncFunctions even when generating es2017+ so that these libraries still work. I assume rewriteAsyncIteration should probably be enabled at the same time.
See also https://github.com/angular/angular/issues/31730
Contributor guide
Assessment
This issue has not been assessed yet.