Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use esbuild's support for transforming async/await to generator #25921

Closed
segevfiner opened this issue Sep 28, 2023 · 2 comments
Closed

Use esbuild's support for transforming async/await to generator #25921

segevfiner opened this issue Sep 28, 2023 · 2 comments

Comments

@segevfiner
Copy link

Command

build

Description

AFAIK Angular CLI is using Babel plugins to transform async/await to generators for zone.js support as that transformation wasn't supported by esbuils. But support has been added evanw/esbuild#2780, which you might be able to use to speed up the build.

This is just letting you know, as I requested that feature while playing around with zone.js for a different non Angular based project where I have hit this limitation of zone.js which the Angular CLI hides from you.

Describe the solution you'd like

Use the native esbuild transform for transforming async/awaitnto generators.

Describe alternatives you've considered

No response

@alan-agius4
Copy link
Collaborator

Esbuild is already used to transform a async/await to generators when using the modern builds.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants