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

Support more recent targets with js.Build / esbuild #12575

Closed
apiontek opened this issue Jun 7, 2024 · 1 comment
Closed

Support more recent targets with js.Build / esbuild #12575

apiontek opened this issue Jun 7, 2024 · 1 comment
Assignees
Milestone

Comments

@apiontek
Copy link

apiontek commented Jun 7, 2024

Per js.Build docs the target option supports values including es2015 through es2020, which refer to esbuild's target option.

However, esbuild currently supports additional, more recent targets: es2021, es2022, es2023. I've tested that I can use them with raw esbuild, but they do not work when passed to js.Build in hugo.

Proposal is to add support for those targets to js.Build in hugo, for those who want to use a more recent target without jumping to the bleeding edge esnext.

@bep bep added the Enhancement label Jun 8, 2024
@bep bep self-assigned this Jun 8, 2024
@bep bep added this to the v0.128.0 milestone Jun 8, 2024
bep added a commit to bep/hugo that referenced this issue Jun 8, 2024
bep added a commit to bep/hugo that referenced this issue Jun 8, 2024
@bep bep closed this as completed in 1cdd3d0 Jun 8, 2024
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants