closure-compiler
closure-compiler copied to clipboard
Option to enable rewriteAsyncFunctions regardles of transpilation target.
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