You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Per js.Build docs the
target
option supports values includinges2015
throughes2020
, 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
.The text was updated successfully, but these errors were encountered: