closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

Option to enable rewriteAsyncFunctions regardles of transpilation target.

Open ribrdb opened this issue 3 years ago • 0 comments

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

ribrdb avatar Apr 07 '21 12:04 ribrdb